[Ajuda] sobre G+H
#10

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
    for(new i = 0, weapons[13], ammo; i < 13; i++)
    {
        GetPlayerWeaponData(playerid, i, weapons[i], ammo);
    }
    if(weapons[2] == 24)
    {
        if(weapons[4]) return SetTimerEx("AjustarArma", 3000, 0, "d", playerid, 4);//Sub-metralhadora
        if(weapons[5]) return SetTimerEx("AjustarArma", 3000, 0, "d", playerid, 5);//Metralhadora
        if(weapons[6]) return SetTimerEx("AjustarArma", 3000, 0, "d", playerid, 6);//Snipers
        if(weapons[7]) return SetTimerEx("AjustarArma", 3000, 0, "d", playerid, 7);//Minigun
        return SetTimerEx("AjustarArma", 3000, 0, "d", playerid, 0);
    }
    return 1;
}

forward AjustarArma(jogador, arma);
public AjustarArma(jogador, arma) return SetPlayerArmedWeapon(jogador, arma);
Reply


Messages In This Thread
[Ajuda] sobre G+H - by Markos - 29.02.2012, 01:39
Re: Ajuda sobre G+H - by Lуs - 29.02.2012, 01:40
Re: Ajuda sobre G+H - by Lucas_Alemao - 29.02.2012, 01:46
Re: Ajuda sobre G+H - by Lуs - 29.02.2012, 01:50
Re: Ajuda sobre G+H - by Markos - 29.02.2012, 01:56
Re: Ajuda sobre G+H - by Lуs - 29.02.2012, 02:06
Re: Ajuda sobre G+H - by DarkScripter - 29.02.2012, 02:14
Re: Ajuda sobre G+H - by Markos - 29.02.2012, 02:24
Re: Ajuda sobre G+H - by DarkScripter - 29.02.2012, 02:27
Re: Ajuda sobre G+H - by CyNiC - 29.02.2012, 02:34

Forum Jump:


Users browsing this thread: 1 Guest(s)