Pedido
#9

Usa essa funзгo que eu fiz

pawn Код:
RemovePlayerWeapon(playerid,{Float,_}:...)
{
    new
        ii = numargs(),
        weaponid,
        ammo,
        jj = 1,
        x
       
    ;

    for(; x < 13; ++x)
    {
        GetPlayerWeaponData(playerid,x,weaponid,ammo);

        do
        {
            if(weaponid == getarg(jj))
                SetPlayerAmmo(playerid,weaponid,0);
        }
        while(++jj < ii);  

    }
    return 1;
}
Reply


Messages In This Thread
Pedido - by rugal - 16.08.2011, 22:10
Re: Pedido - by Macintosh - 16.08.2011, 22:37
Re: Pedido - by Shadoww5 - 16.08.2011, 22:39
Re: Pedido - by RockFire - 16.08.2011, 22:43
Re: Pedido - by rugal - 16.08.2011, 22:44
Re: Pedido - by [S]trong - 16.08.2011, 22:53
Re: Pedido - by Shadoww5 - 16.08.2011, 22:55
Re: Pedido - by rugal - 16.08.2011, 23:38
Re: Pedido - by RockFire - 16.08.2011, 23:42
Re: Pedido - by CyNiC - 16.08.2011, 23:46

Forum Jump:


Users browsing this thread: 3 Guest(s)