16.10.2009, 17:27
Top of script
OnGameModeInit
OnPlayerStateChange
Код:
new AdminCar;
Код:
AdminCar = Addstaticvehicle....
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetPlayerVehicleID(playerid) == AdminCar)
{
if(!IsPlayerAdmin(playerid))
{
RemovePlayerFromVehicle(playerid);
}
}
}