How can I make my custom weapon name only to me. But whenever someone uses the same weapon. They have the custom weapon name too.
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
names={["2"]="Psycho Gun"} addhook("hit","_hit") function _hit(id,source,weapon,hpdmg) 	if player(id,"health")-hpdmg<=0 then 		wpn=tostring(weapon) 		nm=names[wpn] 		if nm==nil then nm=item(weapon,"name") end 		parse('customkill '..source..' "'..nm..'" '..id..'') 		return 1 	end end end
Everyone who uses the Glock(2) they show desame name. How can I change it for me only?E