06.08.2011, 01:46
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(gTeam[playerid] == TEAM_ZOMBIE) { if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT) { new vehicleid = GetPlayerVehicleID(playerid); if(GetVehicleModel(vehicleid) == CARID) { GameTextForPlayer(playerid,"Zombie's Cant Drive Cuz You Have No Lisence ||HaHA",1000,4); RemovePlayerFromVehicle(playerid); } } } return 1; }