05.06.2015, 08:54
https://sampforum.blast.hk/showthread.php?tid=576436
You had already a thread opened for the same reason, you could reply there instead of opening a new thread.
Anyway, you did what I told you to the previous thread and you got the information we need.
Post LockGangVehicle function and line 72884 so we can prevent the run time error though you may need to post a part of code from OnVehicleSpawn callback (54038 line and few lines before and after) as the vehicleid is 106 and the "carid" in LockGangVehicle is INVALID_VEHICLE_ID. It's meant to be the same or not?
You had already a thread opened for the same reason, you could reply there instead of opening a new thread.
Anyway, you did what I told you to the previous thread and you got the information we need.
Post LockGangVehicle function and line 72884 so we can prevent the run time error though you may need to post a part of code from OnVehicleSpawn callback (54038 line and few lines before and after) as the vehicleid is 106 and the "carid" in LockGangVehicle is INVALID_VEHICLE_ID. It's meant to be the same or not?