#include <a_samp>new kapu;public OnFilterScriptInit(){ kapu = CreateObject(980,395.01840210,2550.44433594,18.27297974,0.00000000,0.00000000,3.99902344); //object(electricgate) (1) return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext, \"/nyit\", true) == 0){ MoveObject(kapu, 405.26361084,2551.02441406,18.27297974, 2.5); return 1;}if(strcmp(cmdtext, \"/zar\", true) == 0){ MoveObject(kapu, 395.01840210,2550.44433594,18.27297974, 2.5); SetTimer ( \"kapu\" , 7000 , 0 ) ; // 7000-> Az idõ return 1;}return 0;}
#include <a_samp>new kapu;public OnFilterScriptInit(){ kapu = CreateObject(980,395.01840210,2550.44433594,18.27297974,0.00000000,0.00000000,3.99902344); //object(electricgate) (1) SetTimer ( \"kapu\" , 7000 , 0 ) ; // 7000-> Az idõ return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext, \"/nyit\", true) == 0){ MoveObject(kapu, 405.26361084,2551.02441406,18.27297974, 2.5); return 1;}if(strcmp(cmdtext, \"/zar\", true) == 0){ MoveObject(kapu, 395.01840210,2550.44433594,18.27297974, 2.5); return 1;}return 0;}