17.12.2010, 18:21
resuming:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
new vid = GetPlayerVehicleID(playerid);
if(vid == SAPD1||SAPD2 && Member[playerid] != 1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, red, "This is an Organization vehicle!");
}
}
return 1;
}