25.01.2014, 14:13
OnPlayerEnterCheckpoint
The problem is that i'm sitting in 440 vehicle, but I dont get the TimerEx ant TogglePlayerControllble. Maybe someone knows the problem?
Код:
case 35: { if(IsPlayerInCheckpointEx(playerid, cpid)) { if(IsPlayerInVehicle(playerid, 440)) // if vehicle == 440 { SetTimerEx("kraunamgps", 7000, false, "i", playerid); TogglePlayerControllable(playerid,false); SendClientMessage(playerid,-1,"{FFC400}»{949494} Praљome palaukti, kraumi GPS'ai."); } else // if vehicle not 440 { SendClientMessage(playerid,-1,"{FFC400}»{949494} walink"); } } }