02.05.2013, 05:46
pawn Код:
enum weapdat { WeaponID, WeaponAmmo }
new oldweapons[MAX_PLAYERS][13][weapdat];
stock GetOldWeapons(playerid)
{
for (new i = 0; i < 13; i++) { GetPlayerWeaponData(playerid, i, oldweapons[playerid][i][WeaponID], oldweapons[playerid][i][WeaponAmmo]); }
}
stock SetOldWeapons(playerid)
{
ResetPlayerWeapons(playerid);
for (new i = 0; i < 13; i++) { GivePlayerWeapon(playerid, oldweapons[playerid][i][WeaponID], oldweapons[playerid][i][WeaponAmmo]); }
}