02.05.2013, 05:36
(
Последний раз редактировалось [..MonTaNa..]; 16.05.2013 в 16:41.
)
.....
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]); }
}