05.03.2014, 10:26
Sorry about that, BenzoAMG is correct. When the 2 strings are the same, it returns 0.
Anyways, you should make sure that you're in a car because GetPlayerVehicleID will return 0 and that's not a valid vehicleid; thus it will never respawn it.
Also respawning the vehicle will set it to the coordinates it was first created not in a specific place you want (for that use SetVehiclePos).
Anyways, you should make sure that you're in a car because GetPlayerVehicleID will return 0 and that's not a valid vehicleid; thus it will never respawn it.
Also respawning the vehicle will set it to the coordinates it was first created not in a specific place you want (for that use SetVehiclePos).