Error With preventing players from entering vehicles
#8

Quote:
Originally Posted by sjvt
Посмотреть сообщение
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
    {
        if(team[playerid] != 2) // Change this to how you deal with teams in your script
        {
            RemovePlayerFromVehicle(playerid);
        }
    }
    return 1;
}
If it doesn't work then you use a different team system
How is that even remotely related?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)