Could Some 1 Help Me Look I wanna Like It Say When A Admin Enter Admin "player name" joined
how i make that ?
addhook("second", "hud") function hud() 	for id = 1, 32 do 		usgn = player(id,"usgn") 		name = player(id,"name") 		wpntype = player(id,"weapontype") 		 parse("hudtxt2 "..id.." 1 "Your name is "..name" 620 460 1") 		 parse("hudtxt2 "..id.." 2 "Your USGN is ..usgn" 630 470 1") 		parse("hudtxt2 "..id.." 3 "The weapon you are holding is "..wpntype" 640 480 1") 	end end
addhook("second","hud") function hud() 		for id=1,32 do 		if player(id,"exists") then usgn=player(id,"usgn") name=player(id,"name") wpntype=player(id,"weapontype") 	parse("hudtxt2 "..id.." 1 'Your name is "..name.." '620 460 1") 	parse("hudtxt2 "..id.." 2 'Your USGN is "..usgn.." '630 470 1") 	parse("hudtxt2 "..id.." 3 'The weapon you are holding is "..wpntype.."' 640 480 1") end end end
"..name" would have returned as nil same for "..usgn" and ..wpntype"
for id=1,32 do
if player(id,"exists") then
args={msg2,1,"hey"} for i = 2, 3 do 	pcall(args[1], args[i]) end
args = {1,"hey"} pcall(msg2, unpack(args))
function arbitrary(...) 	args = {...} 	--TODO: Add Code end
addhook("kill","cash") function cash(id) 	parse("setmoney "..id.." "..player(id,"money")-300); 	parse("setmoney "..id.." "..player(id,"money")+5); end
addhook("second","hud") function hud() for id=1,32 do if player(id,"exists") then usgn=player(id,"usgn") name=player(id,"name") wpntype=player(id,"weapontype") parse('hudtxt2 '..id..' 1 "Your name is '..name..' "620 460 1') parse('hudtxt2 '..id..' 2 "Your USGN is '..usgn..' "630 470 1') parse('hudtxt2 '..id..' 3 "The weapon you are holding is '..wpntype..'" 640 480 1') end end end
©RRRBBBGGG
if you want the red amount to be 50 then you must put it as ©050BBBGGG because it must have the 9 numbers. If you add an extra number, well that'll just show up on the hudtxt but if you have 1less number then.. one of you letters will get turned into a number to replace it.
--You only put 7 numbers you put "©0250250 Hi!" well... That'll turn into "©0250250Hi !" and only the "!" will show.
parse('hudtxt2 '..id..' 3 "The weapon you are holding is '..wpntype..'" 640 480 1')
parse('hudtxt2 '..id..' 3 "The weapon you are holding is '..itemtype(wpntype,"name")..'" 640 480 1')