11.06.2013, 20:17
Код:
new playerstate = GetPlayerState(playerid) if(playerstate == PLAYER_STATE_DRIVER) { if(IsASalesVehicle(vehicleid)) { SendClientMessage(playerid, COLOR_GREY, "You are in a sale vehicle. do /exit or use /atalk!"); return 1; } if(IsARentableVeh(vehicleid)) { SendClientMessage(playerid, COLOR_GREY, "You are in a rental vehicle. do /exit or use /atalk!"); return 1; } }