INVALID_VEHICLE_ID Does not work..
#3

Better change
pawn Код:
if(vehicle == INVALID_VEHICLE_ID) return SCM(playerid, -1, "No such vehicle.");
with
pawn Код:
if(!GetVehicleModel(vehicle)) return SCM(playerid, -1, "No such vehicle.");
If the model of the vehicle is 0 (not created vehicle), then say that the vehicle doesn't exists.
Reply


Messages In This Thread
INVALID_VEHICLE_ID Does not work.. - by PaulDinam - 17.02.2013, 17:38
Re: INVALID_VEHICLE_ID Does not work.. - by YoYo123 - 17.02.2013, 17:41
Re: INVALID_VEHICLE_ID Does not work.. - by IstuntmanI - 17.02.2013, 17:43
Re: INVALID_VEHICLE_ID Does not work.. - by YoYo123 - 17.02.2013, 17:45
Re: INVALID_VEHICLE_ID Does not work.. - by MP2 - 17.02.2013, 17:45
Re: INVALID_VEHICLE_ID Does not work.. - by IstuntmanI - 17.02.2013, 17:48
Re: INVALID_VEHICLE_ID Does not work.. - by YoYo123 - 17.02.2013, 17:54
Re: INVALID_VEHICLE_ID Does not work.. - by PaulDinam - 17.02.2013, 18:18
Re: INVALID_VEHICLE_ID Does not work.. - by Sergei - 17.02.2013, 18:28
Re: INVALID_VEHICLE_ID Does not work.. - by PaulDinam - 17.02.2013, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)