06.04.2009, 21:00
Okay here i am... i have a Street Cleaner Job and i want it to make when i exit vehicle ( id 505-510 ) it close all my checkpoints... how can i do that?
This is my OnPlayerExitVehicle script
Please help! Thanks for reading!
This is my OnPlayerExitVehicle script
Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if (GetPlayerState(playerid) == 1)
{
return 1;
}
if(gGas[playerid] == 1)
{
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~Je izasao iz Vozila", 500, 3);
}
return 1;
}


) than you should use a loop that loops through the next checkpoints and disables them