SaedAmer Posted July 7, 2016 Posted July 7, 2016 (edited) حليت المشكلة يغلق Edited July 8, 2016 by Guest
s7BaT Posted July 7, 2016 Posted July 7, 2016 السلام عليكمالوحة تفتح بالسيرفر الوهمي بس لما ارفعها علي استضافة ما تفتح ايه الخطأ ؟ كلنت function strong ( ) showCursor (true) guiSetVisible(Players, true) guiSetVisible (wnd, true) end addEvent( "openGui", true ) addEventHandler( "openGui",root,strong) bindKey( "M", "down", function () triggerServerEvent ( "check2", localPlayer ) showCursor( not isCursorShowing() ) end) سيرفر addEventHandler ( 'onElementClicked', root, function ( _,_, plr ) local msa = getPlayerName ( getElementData ( plr, 'lastUsed' ) ) local mhaster12 = getPlayerName (source) local acc = getPlayerAccount(plr) if isObjectInACLGroup("user."..getAccountName(acc),aclGetGroup("Police")) then if getElementType ( source ) == 'vehicle' then triggerClientEvent(plr,"openGui",plr) triggerClientEvent(plr,"openGui123",plr,msa) triggerClientEvent(plr,"openGui12345",plr,nmn) destroyElement (source) removeElementData (plr,"bugfix") elseif getElementType ( source ) == 'player' then triggerClientEvent(plr,"openGui",plr) triggerClientEvent(plr,"openGui1234",plr,mhaster12) removeElementData (plr,"bugfix") end else outputChatBox("you are not admin",plr,255,255,255) end end) triggerServerEvent ( "check2", localPlayer ) مو مفعل في سيرفر
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