20.01.2012, 20:47
(
Последний раз редактировалось Shadow_; 21.01.2012 в 08:41.
)
make a loop to check all that players weapons.
If it worked, feel free to +rep me
Код:
new weapons = 0; new ammo; for (new i=0; i < 13; i++) { GetPlayerWeaponData(giveplayerid, i, weapons, ammo); if(weapons != 0) { format(string, sizeof(string), "%d: %d (%d)", i, weapons, ammo); SendClientMessage(playerid, COLOR_GRAD1, string); } }