02.07.2012, 18:33
(3200 : warning 219: local variable "weapons" shadows a variable at a preceding level
Linha 32008:
Como usei o "weapons":
Linha 32008:
pawn Код:
new weapons[13][2];
pawn Код:
GetPlayerWeaponData(giveplayerid, 1, weapons[1][0], weapons[1][1]);
GetPlayerWeaponData(giveplayerid, 2, weapons[2][0], weapons[2][1]);
format(string, sizeof(string), "Slot 1: [%s] (Muniзгo: [%d]) | Slot 2: [%s] (Muniзгo: [%d])",aNames[weapons[1][0]], weapons[1][1], aNames[weapons[2][0]], weapons[2][1]);
SendClientMessage(playerid, COLOR_YELLOW, string);