i need hudtxt
Login as :"here USGN of player"
if not login:" Please check your U.S.G.N. account settings"
please i need help
Scripts
need hudtxt
need hudtxt
1

addhook("join","hud")
function hud(id)
	if player(id,"exists") then
	if player(id,"usgn") ~= nil then
	parse('hudtxt 1 "©255255000Login as: ' .. player(id,"usgn"))
	else
	parse('hudtxt 1 "©255000000Login as: None, Failed to login!')
		end
	end
end
limonata has writtenaddhook("ms100","hud")
function hud()
	if player(id,"exists") then
	if player(id,"usgn") ~= nil then
	parse('hudtxt 1 "©255255000Login as: ' .. player(id,"usgn"))
	else
	parse('hudtxt 2 "©255000000Login as: None, Failed to login!')
		end
	end
end
if pbs==nil then pbs={} end
--// CFG
HUD = {
	["USGN"] = {x = 470, y = 135, a = 0}
}
function hudtxt2(player,id,text,x,y,align)
	parse('hudtxt2 '..player..' '..id..' "'..text..'" '..x..' '..y..' '..align)
end
function CheckUSGNStatus(id)
	local USGN = player(id,"usgn")
	if USGN ~= 0 then
		return USGN, (string.char(169)..'005116250')
	else
		return "Not Logged!", (string.char(169)..'255025000')
	end
end
addhook("second","pbs.second")
function pbs.second()
	local playerlist=player(0,"table")
	for _, id in pairs(playerlist) do
		local STATUS, KULAY = CheckUSGNStatus(id)
		hudtxt2(id, 10, (string.char(169)..(116255005).."Login as: "..KULAY..""..STATUS),HUD["USGN"].x, HUD["USGN"].y, HUD["USGN"].a)
	end
end
addhook("second","AuahDark_sec")
function AuahDark_sec()
	for _, id in next,player(0,"table"),nil do
		if player(id,"usgn")>0 then
			parse("hudtxt2 "..id.." auah \"\169000255000Logged in As "..player(id,"usgn").."\" 0 120")
		else
			parse("hudtxt2 "..id.." auah \"\169255000000Please check your U.S.G.N. account settings\" 0 120")
		end
	end
end
addhook("join","OnPlayerConnect")
function OnPlayerConnect(id)
	if player(id,"usgn")>0 then
		parse("hudtxt2 "..id.." auah \"\169000255000Logged in As "..player(id,"usgn").."\" 0 120")
	else
		parse("hudtxt2 "..id.." auah \"\169255000000Please check your U.S.G.N. account settings\" 0 120")
	end
end
limonata has written
1
