14.04.2018, 22:22
you have to use vehicle's ID as a player's current vehicle.
for example, add enum CarID
when you create a vehicle, set the player's pInfo[playerid][CarID] = vehid;
than you can use this pInfo[playerid][CarID] as an ID of the vehicle.
for example, add enum CarID
when you create a vehicle, set the player's pInfo[playerid][CarID] = vehid;
than you can use this pInfo[playerid][CarID] as an ID of the vehicle.