SA-MP Forums Archive
SetVehicleParamsCarWindows - 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: SetVehicleParamsCarWindows (/showthread.php?tid=647358)



SetVehicleParamsCarWindows - lNoobOnDutyl - 04.01.2018

Hi there im having this issue with the mentioned native wether i set it to
Код:
SetVehicleParamsCarWindows(veh, 1, 1, 1, 1);
or
Код:
SetVehicleParamsCarWindows(veh, 0, 1, 1, 1);
The window stays down :/

Anyone else having this weird issue ?


Re: SetVehicleParamsCarWindows - RedRex - 04.01.2018

SetVehicleParamsCarWindows(VEHID, 0,1,1,1);

VEHID = You must created a vehicles example like that

Infernus[5];

Infernus[1] = AddStaticVehicle(411, X,Y,Z, 0, 1);

And here must be:

SetVehicleParamsCarWindows(Infernus[1], 0, 1, 1, 1);

Try it!


Re: SetVehicleParamsCarWindows - lNoobOnDutyl - 04.01.2018

Quote:
Originally Posted by RedRex
Посмотреть сообщение
SetVehicleParamsCarWindows(VEHID, 0,1,1,1);

VEHID = You must created a vehicles example like that

Infernus[5];

Infernus[1] = AddStaticVehicle(411, X,Y,Z, 0, 1);

And here must be:

SetVehicleParamsCarWindows(Infernus[1], 0, 1, 1, 1);

Try it!
if that was the case then it would be a pretty noob mistake just saying haha
anyway thanks for trying.

Got it figured out tho


Re: SetVehicleParamsCarWindows - RedRex - 04.01.2018

Exause me?