31.12.2010, 10:38
Hey Guys,
I am trying to add the new functions to my script, but it doesn't work at all.
For example: How can I detect the engine state?
But that doesn't work:
I am trying to add the new functions to my script, but it doesn't work at all.
For example: How can I detect the engine state?
Код:
switch(Motor[veh]) {
case 0: motortext = "Off";
case 1: motortext = "On";
}
Код:
new veh = GetPlayerVehicleID(playerid);
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
switch(engine) {
case VEHICLE_PARAMS_OFF: motortext = "Off";
case VEHICLE_PARAMS_ON: motortext = "On";
}

