I need help
#1

Ok, i have a GM ok, And i need help, because, when press the number 2 of keyboard, in a car, The engine Stop or start...

When im in a towcar, and wants to tow a car, press 2 and engine go OFF, Same like airplane to put the wheels inside...

I want to delete it, about press 2 to engine OFF..


if(strcmp(cmd,"/engine",true) == 0)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
new vehid = GetPlayerVehicleID(playerid);
if(GetPlayerState(playerid)==PLAYER_STATE_DRIVER)
{
if(vehid == 481 || vehid == 509 || vehid == 510)
return 1;
GetVehicleParamsEx(vehid,engine,lights,alarm,doors ,bonnet,boot,objective);
if(engine<=0)
{
GameTextForPlayer(playerid, "~g~Starting the engine...", 1200, 1);
SetTimerEx("StartEngine", 1500, 0, "ii", playerid, vehid);
}
else
{
GameTextForPlayer(playerid, "~r~Stopping the engine...", 1200, 1);
SetTimerEx("StopEngine", 1500, 0, "ii", playerid, vehid);
}

I didnt found it in GM...
Reply


Messages In This Thread
I need help - by gonzalo120 - 01.11.2013, 12:35
Re: I need help - by ]Rafaellos[ - 01.11.2013, 12:45
Re: I need help - by DanishHaq - 01.11.2013, 12:46
Respuesta: Re: I need help - by gonzalo120 - 01.11.2013, 12:49
Re: I need help - by SAMProductions - 01.11.2013, 12:50
Re: I need help - by Konstantinos - 01.11.2013, 12:52
Respuesta: Re: I need help - by gonzalo120 - 01.11.2013, 12:53
Respuesta: Re: I need help - by gonzalo120 - 01.11.2013, 12:57
Re: I need help - by SAMProductions - 01.11.2013, 13:00
Respuesta: Re: I need help - by gonzalo120 - 01.11.2013, 13:09

Forum Jump:


Users browsing this thread: 1 Guest(s)