Jump to content

مساعدة بكود


#STZ

Recommended Posts

السلام عليكم و رحمة الله و بركاته

addEventHandler("onClientRender", getRootElement(), 
function ()
if getElementData ( source, "TAG", true ) then
			dxDrawTextOnElement(v,"V.I.P",1,20,math.random(255.0),math.random(255.0),math.random(255.0),255,2.5,"default")
			else 
			dxDrawTextOnElement(v,"None",1,20,math.random(255.0),math.random(255.0),math.random(255.0),255,2.5,"default")	
		end
		end
)

addEvent("DX", true) 
addEventHandler("DX", root, 
function () 
    local acc = getPlayerAccount(v) 
    if(isObjectInACLGroup("user."..getAccountName(acc),aclGetGroup("Console"))) then   
setElementData ( v, "TAGCONSOLE", true )
else
setElementData ( v, "TAGCONSOLE", false )

    end 
end 
) 

ادري اني مب كاتب فانشكن dxDrawTextOnElement

بس كاتبه في السكربت

سويت لوب لكل اللاعبين حط لهم تاج 

ومن ضمنهم انا لما جيب اسويه للكونسل مب راضي

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...