01.03.2013, 14:46
The command makes zero sense. Especially this part:
Do you even understand what the condition performs here? Why'd you move a player in the PNS if he's not in any vehicle? That's exactly what your condition does, moves the vehicle if the player is in any, if he's not, it moves him, freezes him and whatever else you wrote there. Fix that and it should work.
Код:
if(IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(playerid, 2065.4656,-1831.3871,13.3786); } else { SetPlayerPos(playerid, 2065.4656,-1831.3871,13.3786); TogglePlayerControllable(playerid, 0); SetTimerEx("PNSfreeze", 5000, false, "i", playerid); GivePlayerMoney(playerid,-3500); return 1; }