GetVehicleHealth on trailers
#7

Say what?

kaisersouse I think your wrong there, but https://sampwiki.blast.hk/wiki/GetPlayerVehicleID does not return INVALID_VEHICLE_ID, none of the sa-mp functions actually return INVALID_VEHICLE_ID, I only use it to initialize and reset variables.

That code you have there
pawn Код:
if(GetPlayerVehicleID(playerid) == INVALID_VEHICLE_ID)
actually shouldn't work, it should return false all the time. GetPlayerVehicleID returns 0 if the player doesn't have a vehicle id assigned.
Reply


Messages In This Thread
GetVehicleHealth on trailers - by tyler12 - 04.11.2012, 16:18
Re: GetVehicleHealth on trailers - by Basssiiie - 05.11.2012, 00:20
Re: GetVehicleHealth on trailers - by tyler12 - 05.11.2012, 07:19
Re: GetVehicleHealth on trailers - by kaisersouse - 05.11.2012, 13:58
Re: GetVehicleHealth on trailers - by AndreT - 05.11.2012, 17:38
Re: GetVehicleHealth on trailers - by kaisersouse - 05.11.2012, 21:19
Re: GetVehicleHealth on trailers - by Kar - 06.11.2012, 23:10

Forum Jump:


Users browsing this thread: 1 Guest(s)