12.01.2011, 21:24
pawn Код:
new WeaponsData[MAX_PLAYERS][5],
SavedAmmo[MAX_PLAYERS][5];
pawn Код:
for(new i; i < 5; i++)
{
GetPlayerWeaponData(playerid, i, WeaponsData[playerid][i], SavedAmmo[playerid][i]);
}
pawn Код:
for(new i = 4; i > 1; i--)
{
GivePlayerWeapon(playerid, WeaponsData[playerid][i], SavedAmmo[playerid][i]);
}