fixed
PHP Code:
new Weapon:gName[MAX_PLAYERS + 1]
this part. (That was my fault)
If i set only gWeapon[id] = Deagle , can i use it in print_chat like that:
PHP Code:
client_print_color(0, Red,"%s", gWeapon[gName[id]])
Edit:
I can't set gWeapon[id] = Deagle (Error : Array must be indexed)
When i set gName[id] = Deagle , i can use it in chat : client_print_color(0, Red,"%s", gNames[gName[id]])
I think it is solved .
__________________