11.07.2018, 17:51
Hello i want if player get in ambulance he gets message type /paramdic to start the job this code dosent work it sends nothing to me
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER) { if(GetVehicleModel(GetPlayerVehicleID(playerid) == 416) { SendClientMessage(playerid,Red,"Type /paramidc to start job"); } } return 1; }