Question: SetVehicleParamsEx/GetVehicleParamsEx - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question: SetVehicleParamsEx/GetVehicleParamsEx (
/showthread.php?tid=199167)
Question: SetVehicleParamsEx/GetVehicleParamsEx -
bn102 - 14.12.2010
Right. I understand how to use SetVehicleParamsEx perfectly, however, what i would like to know is:
Is there a way that i can get it to check if the engine in GetVehicleParamsEx is equal to 1 (on)?
If not, then i think this is maybe something that would be useful?
Thanks,
Ben
AW: Question: SetVehicleParamsEx/GetVehicleParamsEx -
Cank - 14.12.2010
pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(engine, lights, alarm, doors, bonnet, boot, objective);
if(engine)
{
//here you go...
}
Re: Question: SetVehicleParamsEx/GetVehicleParamsEx -
bn102 - 14.12.2010
Ok, Thanks Cank. I'll try it and see if it works.