Maksoud Posted April 2, 2016 Posted April 2, 2016 السلام عليكم كيفكم شباب ؟ عسآآكم الله بخير بدى كود يخلى اللوحة تفتح لقروب اسل معين يعنى ما تفتح الا لقروب Police Manager #Skype :mohamed.abdelmaksoud66 #WhatsApp : 01111231094 #Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ #[M.S] Server : Role Play Soon | حياة واقعية قريبا. #[M.S] Programmed By : mIDO #[M.N] Server : Hajwalh Soon | هجوله قريبا. #[M.N] Programmed By : mIDO يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة
Maksoud Posted April 2, 2016 Author Posted April 2, 2016 Server Side ? #Skype :mohamed.abdelmaksoud66 #WhatsApp : 01111231094 #Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ #[M.S] Server : Role Play Soon | حياة واقعية قريبا. #[M.S] Programmed By : mIDO #[M.N] Server : Hajwalh Soon | هجوله قريبا. #[M.N] Programmed By : mIDO يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة
#|_oskar_|# Posted April 2, 2016 Posted April 2, 2016 Server Side ? يب لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Maksoud Posted April 2, 2016 Author Posted April 2, 2016 local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Police Manager" ) ) then ممكن تكميل للكود ؟ #Skype :mohamed.abdelmaksoud66 #WhatsApp : 01111231094 #Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ #[M.S] Server : Role Play Soon | حياة واقعية قريبا. #[M.S] Programmed By : mIDO #[M.N] Server : Hajwalh Soon | هجوله قريبا. #[M.N] Programmed By : mIDO يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة
Maksoud Posted April 2, 2016 Author Posted April 2, 2016 المود يفتح من حرف m كود فتح اللوحة انا مسويه للجميع بس عشان كنت اعدل فى اللوحة bindKey("m","down", function ( ) guiSetVisible(wnd, not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end) #Skype :mohamed.abdelmaksoud66 #WhatsApp : 01111231094 #Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ #[M.S] Server : Role Play Soon | حياة واقعية قريبا. #[M.S] Programmed By : mIDO #[M.N] Server : Hajwalh Soon | هجوله قريبا. #[M.N] Programmed By : mIDO يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة
YourMind Posted April 2, 2016 Posted April 2, 2016 -- client bindKey ("m","down", function () triggerServerEvent ("check",localPlayer) end) addEvent ("openWND",true) addEventHandler ("openWND",root, function () guiSetVisible (wnd,not guiGetVisible (wnd)) showCursor (guiGetVisible (wnd)) guiSetInputEnabled (guiGetVisible(wnd)) end ) -- server addEvent ("check",true) addEventHandler ("check",root, function () local acc = getAccountName (getPlayerAccount(source)) if not aclGetGroup ("Police Manager") then return outputChatBox ("cannot find 'Police Manager' acl group",source,255,5,5) end if isObjectInACLGroup ("user."..acc,aclGetGroup ("Police Manager")) then triggerClientEvent (source,"openWND",source) else return outputChatBox ("You're not police manager",source,255,5,5) end end) و ممكن تشوف الرسايل الخاصة؟
Adham Posted April 2, 2016 Posted April 2, 2016 bindKey ("m","down", function () triggerServerEvent ("check",localPlayer) end) addEvent ("openWND",true) addEventHandler ("openWND",root, function () guiSetVisible (wnd,not guiGetVisible (wnd)) showCursor (guiGetVisible (wnd)) guiSetInputEnabled (guiGetVisible(wnd)) end ) addEvent ("check",true) addEventHandler ("check",root, function () local acc = getAccountName (getPlayerAccount(source)) if not aclGetGroup ("Police Manager") then return outputChatBox ("cannot find 'Police Manager' acl group",source,255,5,5) end if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Police Manger")) then triggerClientEvent (source,"openWND",source) else return outputChatBox ("You're not police manager",source,255,5,5) end end) قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
YourMind Posted April 2, 2016 Posted April 2, 2016 bindKey ("m","down", function () triggerServerEvent ("check",localPlayer) end) addEvent ("openWND",true) addEventHandler ("openWND",root, function () guiSetVisible (wnd,not guiGetVisible (wnd)) showCursor (guiGetVisible (wnd)) guiSetInputEnabled (guiGetVisible(wnd)) end ) addEvent ("check",true) addEventHandler ("check",root, function () local acc = getAccountName (getPlayerAccount(source)) if not aclGetGroup ("Police Manager") then return outputChatBox ("cannot find 'Police Manager' acl group",source,255,5,5) end if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Police Manger")) then triggerClientEvent (source,"openWND",source) else return outputChatBox ("You're not police manager",source,255,5,5) end end) نفسي اعرف ايه هي فايدة ردك دة ؟ كوبي و بيست بشكل مباشر و انت اصلاً مش فاهم ايه اللي انت بتعمله؟ و دي مش اول مرة كررتها في مواضيع كتير
Maksoud Posted April 2, 2016 Author Posted April 2, 2016 مشكوور اخوى بس الكرسور ما يروح لما اقفل اللوحة من زر Close و انا حاطت كود الكرسور مع زر قفل اللوحة addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == Close ) then guiSetVisible(wnd,false) showCursor(false) end end ) #Skype :mohamed.abdelmaksoud66 #WhatsApp : 01111231094 #Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ #[M.S] Server : Role Play Soon | حياة واقعية قريبا. #[M.S] Programmed By : mIDO #[M.N] Server : Hajwalh Soon | هجوله قريبا. #[M.N] Programmed By : mIDO يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة
YourMind Posted April 2, 2016 Posted April 2, 2016 مشكوور اخوى بس الكرسور ما يروح لما اقفل اللوحة من زر Closeو انا حاطت كود الكرسور مع زر قفل اللوحة addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == Close ) then guiSetVisible(wnd,false) showCursor(false) end end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == Close ) then guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled (false) end end )
Maksoud Posted April 2, 2016 Author Posted April 2, 2016 مشكوور يخوى <3 شكررا للجميع <3 #Skype :mohamed.abdelmaksoud66 #WhatsApp : 01111231094 #Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ #[M.S] Server : Role Play Soon | حياة واقعية قريبا. #[M.S] Programmed By : mIDO #[M.N] Server : Hajwalh Soon | هجوله قريبا. #[M.N] Programmed By : mIDO يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة
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