16.03.2010, 23:02
pawn Код:
new Weapon_Data[MAX_PLAYERS][26];
//Saving
for (new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, Weapon_Data[playerid][i], Weapon_Data[playerid][i + 13]);
}
//Reading
for (new i = 0; i < 13; i++)
{
GivePlayerWeapon(playerid, Weapon_Data[playerid][i], Weapon_Data[i + 13]);
}
*Slot 12 could be removed from saving because slot 12 only contains the detonator

