Jump to content

وين آلخطآ بآلكود


Recommended Posts

سلام عليكم

 

آبي آن آف 4 مآ تفتح غير لرتبة معينة 

حآولت آسويهآ لكن مدري وين آلخطآ

 

كلنت :


 addEvent ( "openf", true )
addEventHandler ( "openf", root,
function opennnnn()
guiSetVisible(GUIEditor.window[1], true)
guiSetInputEnabled(true)
showCursor(true)
end
bindKey ("F7", "down", opennnnn)

سيرفر :

	function ( p )
		if getElementType ( p ) == "player" then
			local acc = getPlayerAccount ( p )
			if acc and not isGuestAccount ( acc ) then
				if isObjectInACLGroup ( "user."..getAccountName ( acc ), aclGetGroup ( "test_system" ) ) then
					triggerClientEvent ( p, "openf", resourceRoot )
				outputChatBox("تم فتح آللوحة",source,125,125,125,true)
				else
				outputChatBox("ليس لديك خآصية لفتح آللوحة",source,125,125,125,true)
				end
			end
		end
	end
)

 

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