1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
addhook("second","checkwep") function checkwep() local itemlist=playerweapons(1,91) for _,id in pairs(itemlist) do 	 local guns = false 		if itemtype(id,"name")=="Knife" or itemtype(id,"name")== "Smoke grenade" then 		image('gfx/sprites/text2.bmp',0,0,101) 		else 		 image('gfx/sprites/text1.bmp',0,0,101) 		end end end
My fellow friend helped me a little but I'm not sure how to add freeimage(id) so it would display only one image.. Thanks for your help.