24.07.2014, 20:09
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 596 || 597 || 598 || 599 || 601 || 427) { if(gTeam[playerid] == CIV) { SendClientMessage(playerid, COLOR_RED, "WARNING: You just stole a police car, your wanted level has been increased!"); SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+3); } } } return 1; }