Detecting if a Cars/Bikes Engine is Running.
#1

Hey guys


how do i detect if a cars engine is running like

if(CarsEngineisRunning)
{
//do shit
}

if(CarsEngineisOff)
{
//do shit
}

cheers
Reply
#2

pawn Код:
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
if(engine == VEHICLE_PARAMS_ON)
{
// do shit
}
if(engine == VEHICLE_PARAMS_OFF)
{
// do shit
}
Reply
#3

Cheers mate
Reply
#4

Quote:
Originally Posted by NoZ
Посмотреть сообщение
Cheers mate
No problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)