Simple VehicleParams question - 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: Simple VehicleParams question (
/showthread.php?tid=394742)
Simple VehicleParams question -
jakejohnsonusa - 23.11.2012
How do I do somthing like:
pawn Код:
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,boot,objective);
if engine == 0
This is probably not it, this is what I mean though. Like it checks the engine status and if it's off it continues... How do I do this?
Thanks: jakejohnsonusa
Re: Simple VehicleParams question -
tyler12 - 23.11.2012
PHP код:
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,boot,objective);
if(engine == 0)
{
// code
}
Re: Simple VehicleParams question -
jakejohnsonusa - 23.11.2012
Thanks!
+1 Rep