29.12.2010, 20:13
pawn Код:
new WeaponData[13][2], string[128];
for (new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, WeaponData[i][0], WeaponData[i][1]);
format(string, sizeof(string), "Slot %d: weapon id %d with %d ammo.", i, WeaponData[i][0], WeaponData[i][1]);
SendClientMessage(playerid, 0xFFFFFFFF, string);
}