SA-MP Forums Archive
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)
+--- Thread: GetVehicleParamsEx (/showthread.php?tid=209881)



GetVehicleParamsEx - NewbBeginner - 11.01.2011

I have this code:
Код:
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
How can I do that if(engine == 1), then return blabla


Re: GetVehicleParamsEx - _rAped - 11.01.2011

pawn Код:
if(engine != 1)
{
// start it
}
else
{
// shut it down
}



Re: GetVehicleParamsEx - Shetch - 20.09.2011

Quote:
Originally Posted by _rAped
Посмотреть сообщение
pawn Код:
if(engine != 1)
{
// start it
}
else
{
// shut it down
}
Thanks, helped me out.