31.08.2013, 22:16
Quote:
@Coe1
Vou tentar, se funfar edito.. @edit nгo era bem isso que eu queria. Queria usando o GetPlayerWeaponData.. |
pawn Код:
CMD:arma(playerid)
{
new weapons[13][2],string[20],string2[20];
for (new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]);
format(string,sizeof(string),"Arma - %d",weapons[i][0]);
format(string2,sizeof(string2),"Municao - %d",weapons[i][1]);
}
SendClientMessage(playerid, -1, string);
SendClientMessage(playerid, -1, string2);
return 1;
}