30.08.2011, 10:33
pawn Код:
new weapons[MAX_PLAYERS][13][2];
//When the player enters a zone
for (new i = 0; i < 13; i++) GetPlayerWeaponData(playerid, i, weapons[playerid][i][0], weapons[playerid][i][1]);
ResetPlayerWeapons(playerid);
//When the player exits the zone
for (new i = 0; i < 13; i++) if(weapons[playerid][i][0] != 0) GivePlayerWeapon(playerid, weapons[playerid][i][0], weapons[playerid][i][1]);