[Pedido] Remover arma num tiro
#5

Criei essa funзгo a um tempo atrбs...veja se й ъtil para vocк!

pawn Code:
RemovePlayerWeapon(playerid, weaponid)
{
    static weaponData[13][2], i;

    for(i = 0; i < 13; i++)
    {
        GetPlayerWeaponData(playerid, i, weaponData[i][0], weaponData[i][1]);
    }

    ResetPlayerWeapons(playerid);

    for(i = 0; i < 13; i++)
    {
        if(weaponData[i][0] != 0 && weaponData[i][0] != weaponid)
        {
            GivePlayerWeapon(playerid, weaponData[i][0], weaponData[i][1]);
        }
    }
}
Reply


Messages In This Thread
Remover arma num tiro - by pdonald - 08.11.2015, 15:53
Respuesta: Remover arma num tiro - by DjonathaTM - 08.11.2015, 16:18
Re: Respuesta: Remover arma num tiro - by luccagomes15 - 08.11.2015, 17:16
Respuesta: Remover arma num tiro - by DjonathaTM - 08.11.2015, 17:20
Re: Remover arma num tiro - by Bruno13 - 08.11.2015, 17:52
Re: Remover arma num tiro - by CZ - 08.11.2015, 20:21
Re: Remover arma num tiro - by Bruno13 - 08.11.2015, 20:26
Re: Remover arma num tiro - by F1N4L - 09.11.2015, 00:09
Re: Remover arma num tiro - by pdonald - 10.11.2015, 00:05
Re: Remover arma num tiro - by Bruno13 - 10.11.2015, 00:13
Re: Remover arma num tiro - by Bruno13 - 10.11.2015, 00:15
Re: Remover arma num tiro - by Artista - 10.11.2015, 02:55
Re: Remover arma num tiro - by Bruno13 - 10.11.2015, 03:47
Re: Remover arma num tiro - by luccagomes15 - 12.11.2015, 01:01

Forum Jump:


Users browsing this thread: 2 Guest(s)