13.05.2009, 20:47
This might be usefull with it. after this try giving the guns back or w/e you want to do with it.
src = https://sampwiki.blast.hk/wiki/GetPlayerWeaponData
pawn Code:
//common use: get all weapons and store info in an array containing 13 slots
//first value is weapon id and second is ammo
new weapons[13][2];
for (new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]);
}