Posts: 151
Threads: 38
Joined: Jan 2016
Reputation:
0
Why if I put GetPlayerVehicleID ( playerid ) -1 does not work to me while in other GM I always find that " -1 " ?
What for?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
'Cause vehicleids start at 1 and array indices start at 0. So the information for vehicle 1 is stored in slot 0, the information for vehicle 2 is stored in slot 1 and the information for vehicle 2000 is stored in slot 1999.