w7sH Posted May 29, 2016 Share Posted May 29, 2016 السلام عليكم معي لوحة م تفتح الا لـ قروب معين وهذا الكود if(isObjectInACLGroup("user."..getAccountName(acc),aclGetGroup("admin"))) then انا ابي اغيره ابي اللي مفتوح له الكيك في الاسل تفتح معه اللوحه Link to comment
Me[Z]oO Posted May 29, 2016 Share Posted May 29, 2016 if ( hasObjectPermissionTo ( PlayerElement, "function.kickPlayer", true ) ) then --Your Code end Link to comment
w7sH Posted May 30, 2016 Author Share Posted May 30, 2016 حطيته كذا ولا ضبط addEvent("gui",true) addEventHandler("gui",root, function() local acc=getPlayerAccount(client) if ( hasObjectPermissionTo ( PlayerElement, "command.slap", true ) ) then triggerClientEvent(client,"openGui",client) end end ) Link to comment
w7sH Posted May 30, 2016 Author Share Posted May 30, 2016 ي شباب ي ليت احد يفيديني لله يعافيكم Link to comment
Adham Posted May 30, 2016 Share Posted May 30, 2016 addEvent("gui",true) addEventHandler("gui",root, function() local acc=getPlayerAccount(client) if ( hasObjectPermissionTo ( client, "function.slap", true ) ) then triggerClientEvent(client,"openGui",client) end end ) Link to comment
iMr.WiFi..! Posted May 31, 2016 Share Posted May 31, 2016 اطرح كود كلينت الي ارسلت له الترايقر و السيرفر Link to comment
#Soking Posted May 31, 2016 Share Posted May 31, 2016 وش وضع local acc=getPlayerAccount(client) ؟ انت في الكود حقكك مب مستخدمه addEvent("gui",true) addEventHandler("gui",root, function ( ) if ( hasObjectPermissionTo ( source, "function.slap") == true ) then triggerClientEvent(source,"openGui",source) end end ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now