Simple GetVehicleParamsEx Question
#2

pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
if(engine == 1) {
    // ENGINE IS RUNNING
}
else {
    // ENGINE IS NOT RUNNING
}
You can use #pragma unused to eliminate the variables you didn't use, such as lights, alarm, etc.
Reply


Messages In This Thread
Simple GetVehicleParamsEx Question - by jakejohnsonusa - 15.12.2012, 12:11
Re: Simple GetVehicleParamsEx Question - by Mean - 15.12.2012, 12:23
Re: Simple GetVehicleParamsEx Question - by jakejohnsonusa - 15.12.2012, 12:36

Forum Jump:


Users browsing this thread: 1 Guest(s)