How can I disable exiting a vehicle?
#8

Код:
if(IsPlayerInVehicle(playerid, 571)) // 571 = KART ID
{
         SetPlayerPos(playerid, Randomspawnx, Randomspawny, Randomspawnz || playerid, Randomspawnx, Randomspawny, Randomspawnz || playerid, Randomspawnx, Randomspawny, Randomspawnz);
         return 1;
}
Ofcoarse change the randomspawnx, randomspawny, randomspawnz to the coords of the spawns... This should work.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)