27.11.2012, 20:14
Replace
with
And you might want to put it before RemoveWeapons(playerid);.
pawn Код:
DropWeapons(GetPlayerWeapon(playerid),GetPlayerAmmo(playerid),X,Y,Z,GetPlayerVirtualWorld(playerid),playerid);
pawn Код:
new weaponID[13], weaponammo[13];
for(int i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, weaponID[i], weaponammo[i]);
DropWeapons(weaponID[i], weaponammo[i], X, Y, Z, GetPlayerVirtualWorld(playerid), playerid);
}