12.12.2014, 09:25
I have tried this, but it showed [] (blank)
I really need this urgently, and I have no clue how to do that. It would be better if I can get weapon name and not ID:
I really need this urgently, and I have no clue how to do that. It would be better if I can get weapon name and not ID:
pawn Код:
new weapons[13][2];
new weapdata[MAX_PLAYERS];
for (new i = 0; i <= 12; i++)
{
weapdata[player] = GetPlayerWeaponData(player, i, weapons[i][0], weapons[i][1]);
}
format(tdstring,sizeof(tdstring),"[~r~%s~w~]", weapdata[player]);