"You are not in a delivery vehicle!"
#4

Because you check if a player is in a vehicle which ID is 515. You probably wanted to check the [italic]model[/italic] of a vehicle, you can do it like so:
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) != 515) return SendClientMessage(playerid, GREY, "You are not in a delivery vehicle!");
Reply


Messages In This Thread
"You are not in a delivery vehicle!" - by Josh_Main - 02.10.2014, 13:55
Re: "You are not in a delivery vehicle!" - by PabloAguado - 02.10.2014, 14:06
Re: "You are not in a delivery vehicle!" - by Josh_Main - 02.10.2014, 14:09
Re: "You are not in a delivery vehicle!" - by dusk - 02.10.2014, 14:15

Forum Jump:


Users browsing this thread: 2 Guest(s)