I need help
#10

Quote:
Originally Posted by SAMProductions
Посмотреть сообщение
Look for "if(newkeys & KEY_SUBMISSION)" or "if(PRESSED(KEY_SUBMISSION) && IsPlayerInAnyVehicle (playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER )" and Delete its Code, Don't delete the whole Code :P.
if(PRESSED(KEY_SUBMISSION))
{
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);
}


??
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)