MozgoKapu = CreateObject(3578,2727.19921875,2609.79980469,10.39999962,0.00000000,0.00000000,5.99853516); //object(dockbarr1_la) (1) SetTimer( \"Mozgasd\", 1000, true );public Mozgasd(){for( new playerid = 0; playerid < MAX_PLAYERS; playerid++ ){if( IsPlayerConnected(playerid) ){ if( IsPlayerInRangeOfPoint( playerid, 10.0, 2727.3582, 2609.0698, 10.6719 ) ) if(IsPlayerInAnyVehicle(playerid)) { MoveObject( MozgoKapu, 2727.19995117,2609.80004883,8.60000038, 2.5 ); // Zárt } else { MoveObject( MozgoKapu, -1630.80004883,-2722.60009766,50.70000076, 2.5 ); // Nyitott }}}}
new Mozgokapu;public OnGameModeInit(){ MozgoKapu = CreateObject(3578,2727.19921875,2609.79980469,10.39999962,0.00000000,0.00000000,5.99853516); //object(dockbarr1_la) (1) SetTimer( \"Mozgasd\", 1000, true ); return 1;}public Mozgasd(){for( new playerid = 0; playerid < MAX_PLAYERS; playerid++ ){if( IsPlayerConnected(playerid) ){ if(IsPlayerInRangeOfPoint( playerid, 10.0, 2727.3582, 2609.0698, 10.6719 ) ) { if(IsPlayerInAnyVehicle(playerid)) { MoveObject( MozgoKapu, -1630.80004883,-2722.60009766,50.70000076, 2.5 ); SetTimerEx(\"Zar\",30000,0,\"i\",playerid); } }} } return 1;}forward Zar();public Zar(){ MoveObject( MozgoKapu, 2727.19995117,2609.80004883,8.60000038, 2.5 ); return 1;}
new Mozgokapu, ztimer;public OnGameModeInit(){ MozgoKapu = CreateObject(3578,2727.19921875,2609.79980469,10.39999962,0.00000000,0.00000000,5.99853516); //object(dockbarr1_la) (1) SetTimer( \"Mozgasd\", 1000, true ); return 1;}public Mozgasd(){for( new playerid = 0; playerid < MAX_PLAYERS; playerid++ ){if( IsPlayerConnected(playerid) ){ if(IsPlayerInRangeOfPoint( playerid, 10.0, 2727.3582, 2609.0698, 10.6719 ) ) { if(IsPlayerInAnyVehicle(playerid)) { MoveObject( MozgoKapu, -1630.80004883,-2722.60009766,50.70000076, 2.5 ); ztimer = SetTimer(\"Zar\", 30000, false); } }} } return 1;}forward Zar();public Zar(){ MoveObject( MozgoKapu, 2727.19995117,2609.80004883,8.60000038, 2.5 ); return 1;}
new Mozgokapu;public OnGameModeInit(){ MozgoKapu = CreateObject(3578,2727.19921875,2609.79980469,10.39999962,0.00000000,0.00000000,5.99853516); //object(dockbarr1_la) (1) SetTimer( \"Mozgasd\", 1000, true ); return 1;}public Mozgasd(){for( new playerid = 0; playerid < MAX_PLAYERS; playerid++ ){if( IsPlayerConnected(playerid) ){ if(IsPlayerInRangeOfPoint( playerid, 10.0, 2727.3582, 2609.0698, 10.6719 ) ) { if(IsPlayerInAnyVehicle(playerid)) { MoveObject( MozgoKapu, -1630.80004883,-2722.60009766,50.70000076, 2.5 ); SetTimer(\"Zar\", 30000, false); } }} } return 1;}forward Zar();public Zar(){ MoveObject( MozgoKapu, 2727.19995117,2609.80004883,8.60000038, 2.5 ); return 1;}