Bug with mele weapons
#9

pawn Код:
stock RemovePlayerWeapon(playerid, weaponid)
{
    new weaponsArray[13][2]; // 1 Model, 2 Ammo.
   
    for(new i = 0; != 13; ++i)
    {
        GetPlayerWeaponData(playerid, i, weaponsArray[i][0], weaponsArray[i][1]);
    }
   
    ResetPlayerWeapons(playerid);
   
    for(new i = 0; i != 13; ++i)
    {
        if (weaponsArray[i][0] != weaponid)
            GivePlayerWeapon(playerid, weaponsArray[i][0], weaponsArray[i][1]);
    }
}
Reply


Messages In This Thread
Bug with mele weapons - by brawrr - 23.09.2011, 13:08
Re: Bug with mele weapons - by brawrr - 23.09.2011, 13:13
Re: Bug with mele weapons - by Kingunit - 23.09.2011, 15:17
Re: Bug with mele weapons - by brawrr - 23.09.2011, 15:24
Re: Bug with mele weapons - by Wesley221 - 23.09.2011, 18:28
Re: Bug with mele weapons - by brawrr - 23.09.2011, 19:20
Re: Bug with mele weapons - by brawrr - 24.09.2011, 07:58
Re: Bug with mele weapons - by brawrr - 24.09.2011, 08:01
Re: Bug with mele weapons - by Raimis_R - 24.09.2011, 15:03
Re: Bug with mele weapons - by leong124 - 24.09.2011, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)