31.05.2014, 17:32
Yeah I got the GetPlayerVehicleID, but if I just created the car (Via a command) I want to know the vehicle ID after its created.
From SAMP Wiki: AddStaticVehicleEx
Return Values:
The vehicle ID of the vehicle created (between 1 and MAX_VEHICLES).
INVALID_VEHICLE_ID (65535) if vehicle was not created (vehicle limit reached or invalid vehicle model ID passed).
How would I get the returned value of the AddStaticVehicleEx?
If this is not possible I may have to go with Aerotactics suggestion.
From SAMP Wiki: AddStaticVehicleEx
Return Values:
The vehicle ID of the vehicle created (between 1 and MAX_VEHICLES).
INVALID_VEHICLE_ID (65535) if vehicle was not created (vehicle limit reached or invalid vehicle model ID passed).
How would I get the returned value of the AddStaticVehicleEx?
If this is not possible I may have to go with Aerotactics suggestion.