03.07.2009, 20:10
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) { new vehmodel = GetVehicleModel(GetPlayerVehicleID(playerid)); if(vmodel == MODEL && !IsPlayerAdmin(playerid)) // change MODEL to the modelid { DestroyVehicle(GetPlayerVehicleID(playerid)); } } }