19.12.2009, 15:05
How i can make this code for giving player color by every car ?
Код:
public OnPlayerStateChange(playerid, newstate, oldstate){ if(newstate==PLAYER_STATE_DRIVER) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520) { SetPlayerColor(playerid,COLOR_GREEN); } } return 1; }