Jump to content

طلب تعديل


Recommended Posts

Posted

السلام عليكم معي لوحة م تفتح الا لـ قروب معين

وهذا الكود

        if(isObjectInACLGroup("user."..getAccountName(acc),aclGetGroup("admin"))) then 

انا ابي اغيره ابي اللي مفتوح له الكيك في الاسل تفتح معه اللوحه

Posted

حطيته كذا ولا ضبط

addEvent("gui",true) 
addEventHandler("gui",root, 
    function() 
        local acc=getPlayerAccount(client) 
        if ( hasObjectPermissionTo ( PlayerElement, "command.slap", true ) ) then 
            triggerClientEvent(client,"openGui",client) 
             
  
        end 
    end 
     
  
) 

Posted

addEvent("gui",true) 
addEventHandler("gui",root, 
    function() 
        local acc=getPlayerAccount(client) 
        if ( hasObjectPermissionTo ( client, "function.slap", true ) ) then 
            triggerClientEvent(client,"openGui",client) 
            
  
        end 
    end 
  
) 

 

قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل B-18.png 

Posted

اطرح كود كلينت الي ارسلت له الترايقر و السيرفر

Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة

ليس عليك اسعاد الجميع ,
ولكن عليك بإن لا تؤذي أحداً 

=========
You do not have to make everyone happy,
But you should not hurt anyone

 

Want to contact with me?

 

Discord: JustCarry#2616 (Always there)
Skype: Live:JustCarry10 (Not always)

Posted

وش وضع

 

local acc=getPlayerAccount(client) 

؟

 

انت في الكود حقكك مب مستخدمه

 

addEvent("gui",true) 
addEventHandler("gui",root, 
function ( ) 
if ( hasObjectPermissionTo ( source, "function.slap") == true ) then 
        triggerClientEvent(source,"openGui",source) 
    end 
end ) 

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...