Vehicle respawn problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Vehicle respawn problem (
/showthread.php?tid=646323)
Vehicle respawn problem -
Darkay - 15.12.2017
Hello there, guys, i have a little problem with the ParamsEx, i create some cars to a faccion and i used the ParamsEx
Код:
VehTaxi[15] = AddStaticVehicleEx(438, -1822.5042, 16.9860, 14.9860, 89.9354, -1, -1,180); // SF
GetVehicleParamsEx(VehTaxi[0], engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(VehTaxi[0], 0, 0, 0, 0, 0, 0, 0);
i created a command to engine, lights etc... it works correctly, but when the car respawn, i can't use the commands for the cars, i don't know what i have done bad, or what is the problem... some help? thx
Re: Vehicle respawn problem -
RogueDrifter - 15.12.2017
Show your command man...
Also visit
Set Vehicle Params parameters by samp wiki
And
Get Vehicle Params parameters by samp wiki
Re: Vehicle respawn problem -
Darkay - 15.12.2017
solved, the problem was that, when the car is respawned , the engine and some params are -1, i put on my command if(engine == 1 || engine == -1) etc.