13.06.2010, 13:43
I know that I should use SetVehicleParamsForPlayer and get it works on the train locomotive.
The passenger cars get the vehicle id after the locomotive. For example:
Locomotive = ID 1
Passenger car 1 = ID 2
Passenger car 2 = ID 3
Passeng............
Then I use this code to lock car passenger car 1:
But I can't get it work on the passenger cars. Why?
The passenger cars get the vehicle id after the locomotive. For example:
Locomotive = ID 1
Passenger car 1 = ID 2
Passenger car 2 = ID 3
Passeng............
Then I use this code to lock car passenger car 1:
Код:
SetVehicleParamsForPlayer(2,playerid,0,1);