Engines wont start!
#4

Also.


pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new string[128];
    new pveh = GetVehicleModel(GetPlayerVehicleID(playerid));
    new vehicle = GetPlayerVehicleID(playerid);
    if(newstate == PLAYER_STATE_DRIVER && (pveh != 509 && pveh != 481 && pveh != 510) && IsPlayerInAnyVehicle(playerid))
    {
        SetTimerEx("Startup", 1, false, "ii", playerid, vehicle);
        SetTimerEx("engine2", 2500, false, "i", playerid);
    }
    else if(newstate == PLAYER_STATE_DRIVER && (pveh != 509 && pveh != 481 && pveh != 510) && IsPlayerInAnyVehicle(playerid))
    {
        SetTimerEx("Startup", 1, false, "ii", playerid, vehicle);
        SetTimerEx("engine2", 2500, false, "i", playerid);
    }
    if(newstate == PLAYER_STATE_DRIVER)
    {
        if(GetPlayerWeapon(playerid) == 29)
        {
            SetPlayerArmedWeapon(playerid, 0);
        }
    }
That might help?
Reply


Messages In This Thread
Engines wont start! - by Oscii - 26.07.2012, 17:06
Re: Engines wont start! - by maramizo - 26.07.2012, 17:07
Re: Engines wont start! - by Oscii - 26.07.2012, 17:11
Re: Engines wont start! - by Oscii - 26.07.2012, 17:14
Re: Engines wont start! - by maramizo - 26.07.2012, 17:22
Re: Engines wont start! - by Oscii - 26.07.2012, 17:25
Re: Engines wont start! - by maramizo - 26.07.2012, 17:49
Re: Engines wont start! - by Oscii - 26.07.2012, 17:53
Re: Engines wont start! - by maramizo - 26.07.2012, 18:03
Re: Engines wont start! - by Oscii - 26.07.2012, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)