24.12.2015, 16:45
Why dont you link it to Vehicle ID instead?
Ie:
When you create a vehicle, store it inside
2 variables
And then after the car is created, assign the car to the player
So now when you enter a car, you can check if MyCar[playerid] matched Car[vehicleid]
Ie:
When you create a vehicle, store it inside
2 variables
PHP код:
new Car[MAX_VEHICLES]; //assign the car into some ID
PHP код:
MyCar[playerid] = Car[vehicleid];