16.01.2010, 03:27
hey im having a race track thing in my server and i wanted to know is there a way to lock some one in the car . so like they can drive it and stuff but cant get out until they go to the pits.
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(PlayerInRace[playerid] == 1)
{
PutPlayerInVehicle(playerid, vehicleid, 0);
}
return 1;
}