Ahmed Eka Posted August 9, 2016 Posted August 9, 2016 addEventHandler("onPlayerLogin", root, function() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup("Console")) then setElementData(source, "Bases", true) end end ) function OpenPanel() if ( getElementData( source, 'Bases' ) == true ) then guiSetVisible( GUIEditor.window[1] , not guiGetVisible( GUIEditor.window[1] )) showCursor(guiGetVisible( GUIEditor.window[1] )) if guiGetVisible( GUIEditor.window[1] ) then triggerServerEvent ("GetMaps", localPlayer) end end end addCommandHandler ( "base", OpenPanel ) الحين انا مسويه لو معاه الداتا يفتح اللوحه لو ما معاه ما يقدر الحين انا معاي كونسول بس لما اجي افتح اللوحه ما تظهر و يقلي بالدي بق انو ما معاي الداتا !؟
Wleed1998 Posted August 9, 2016 Posted August 9, 2016 اول ي اخوي مسوي تتقريت لي السيرفر ومو مستقبله ثآني if ( getElementData( source, 'Bases' ) == true ) then حاط 'Bases' لان في السيرفر مسوي كذا "Bases" وكلنت مسوي زي كذا 'Bases' غيره لـ "Bases" --- معرفة الناس لاتقآس بالزمن و السنين --- ولكن بآطيبة آلقلوب و جمآل الآسلوب
Mhmd.z Posted August 9, 2016 Posted August 9, 2016 استخدم لوكال بلاير بالتحقق function OpenPanel() if ( getElementData( localPlayer, 'Bases' ) == true ) then guiSetVisible( GUIEditor.window[1] , not guiGetVisible( GUIEditor.window[1] )) showCursor(guiGetVisible( GUIEditor.window[1] )) if guiGetVisible( GUIEditor.window[1] ) then triggerServerEvent ("GetMaps", localPlayer) end end end addCommandHandler ( "base", OpenPanel )
Ahmed Eka Posted August 9, 2016 Author Posted August 9, 2016 استخدم لوكال بلاير بالتحقق function OpenPanel() if ( getElementData( localPlayer, 'Bases' ) == true ) then guiSetVisible( GUIEditor.window[1] , not guiGetVisible( GUIEditor.window[1] )) showCursor(guiGetVisible( GUIEditor.window[1] )) if guiGetVisible( GUIEditor.window[1] ) then triggerServerEvent ("GetMaps", localPlayer) end end end addCommandHandler ( "base", OpenPanel ) شكرا محمد ز ظبط
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