1
2
3
4
5
6
2
3
4
5
6
addhook("select","onselecting") function onselectiong(id,type,mode) if player(id,"weapon")==51 then parse('hudtxt2 "..id.." 1 "Mode:BlaBlaBla 290 250') end end
LUA ERROR: attempt to call a nil value
addhook("select","onselecting") function onselectiong(id,type,mode) if player(id,"weapon")==51 then parse('hudtxt2 "..id.." 1 "Mode:BlaBlaBla 290 250') end end
addhook("select","onselecting") function ---> onselectiong <--- (id,type,mode)
parse('hudtxt2 "..id.." 1 "Mode:BlaBlaBla 290 250')
addhook("select", "onSelecting") function onSelecting(id, t, md) 	if t == 51 then 		parse ('hudtxt2 '..id..' 1 "Mode: BlaBlaBla" 290 250 1') 	end end
if player(id, "weapon") == 51
if t == 51
if player(id, "weapontype") == 51
addhook("select", "onSelecting") function onSelecting(id, t, md) 	if t == 1 and md == 1 then 		parse ('hudtxt2 '..id..' 1 "Mode: BlaBlaBla" 290 250 1') 	end end