PaiN^ Posted March 14, 2013 Posted March 14, 2013 'f12' المفروض 'F12' " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
3NAD Posted March 14, 2013 Posted March 14, 2013 aOpen_ = function ( plr_ ) local plrAccount = getPlayerAccount ( plr_ ) if plrAccount and not isGuestAccount ( plrAccount ) then if isObjectInACLGroup ("user."..getAccountName ( plrAccount ), aclGetGroup ( "Admin" ) ) then triggerClientEvent ( plr_, "onOpenDataWindow", plr_ ) end end end فقط ذذ and كان ناقص
iPrestege Posted March 14, 2013 Posted March 14, 2013 aOpen_ = function ( plr_ ) local plrAccount = getPlayerAccount ( plr_ ) if plrAccount and not isGuestAccount ( plrAccount ) then if isObjectInACLGroup ("user."..getAccountName ( plrAccount ), aclGetGroup ( "Admin" ) ) then triggerClientEvent ( plr_, "onOpenDataWindow", plr_ ) end end end فقط ذذ and كان ناقص لا صحيح الاند مافيةة شيء ذذ بس بيجية باد ارقمنت في البايند كي لان الفنكشن تحتة ذذ
yazan Posted March 15, 2013 Author Posted March 15, 2013 اخوي مشكورين بس الكلام يضهر بل شات شلون اخليه يضهر بلوحه رقم 2 وتختفي سبحان الله ---------------------------------- LUA 56%
iMr.Dawix~# Posted March 15, 2013 Posted March 15, 2013 اخوي مشكورين بس الكلام يضهر بل شات شلون اخليه يضهر بلوحه رقم 2 وتختفي guiSetText guiSetVisible My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
][sojn][ Posted March 15, 2013 Posted March 15, 2013 المشكله في بعض الاعضاء يطرحون طلبات غير معقوله ما تنفهم ><" يبون درس لغه عربيه مطلوب سيرفر ابرمج فيه ضيفني سكايب Sojn_999
yazan Posted March 15, 2013 Author Posted March 15, 2013 المشكله في بعض الاعضاء يطرحون طلبات غير معقوله ما تنفهم ><" يبون درس لغه عربيه ههههههههههه يب بس انا مو منهم المهم قصدي يطلع على الوحه 2 كود يلي عطوطني ياه يطلع بل شات شلون يطلع على لوحه 2 سبحان الله ---------------------------------- LUA 56%
PaiN^ Posted March 15, 2013 Posted March 15, 2013 guiSetText ?? " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
iMr.Dawix~# Posted March 15, 2013 Posted March 15, 2013 المشكله في بعض الاعضاء يطرحون طلبات غير معقوله ما تنفهم ><" يبون درس لغه عربيه ههههههههههه يب بس انا مو منهم المهم قصدي يطلع على الوحه 2 كود يلي عطوطني ياه يطلع بل شات شلون يطلع على لوحه 2 اخوي مشكورين بس الكلام يضهر بل شات شلون اخليه يضهر بلوحه رقم 2 وتختفي guiSetText guiSetVisible يعني شيل الي يطلع بالشات وخل بداله يغير الكلام الي في اللبل او اي شيء جوي تستخدم guiSetText اضغط عليه8 يجيك له مثال بالويكي My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
yazan Posted March 16, 2013 Author Posted March 16, 2013 وش غلط ؟ و شلون اضهر لوحه aOpen_ = function ( plr_ ) local plrAccount = getPlayerAccount ( plr_ ) if not isGuestAccount ( plrAccount ) then if isObjectInACLGroup ("user."..getAccountName ( plrAccount ), aclGetGroup ( "Admin" ) ) then triggerClientEvent ( plr_, "onOpenDataWindow", plr_ ) end end end addEvent ( "onSendDataToAll", true ) addEventHandler ( "onSendDataToAll", root, function ( Data ) if tostring ( Data ) then guiSetText ( "GUIEditor_Window[2],Label,["..getPlayerName(source).."] : "..Data, root, 225, 0, 0, true ) end end ) for _, v in ipairs (getElementsByType ( "player" ) ) do bindKey ( v, "f12", "down", aOpen_ ) end addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "F12", "down", aOpen_ ) end ) سبحان الله ---------------------------------- LUA 56%
yazan Posted March 16, 2013 Author Posted March 16, 2013 guiSetText = Client Only شلون سبحان الله ---------------------------------- LUA 56%
iPrestege Posted March 16, 2013 Posted March 16, 2013 guiSetText = Client Only شلون انت مسوية سيرفر وهي كلنت ورني الكود اللوحة كاملة مع اللبل وان شاء الله اسوية لك #
yazan Posted March 16, 2013 Author Posted March 16, 2013 كلنت GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Window[2] = guiCreateWindow(190,268,395,153,"By yaZan",false) guiSetVisible(GUIEditor_Window[2],false) guiSetAlpha(GUIEditor_Window[2],1) GUIEditor_Image[2] = guiCreateStaticImage(9,93,377,51,"images/mtalogo.png",false,GUIEditor_Window[2]) Label = guiCreateLabel(67,29,306,37,"",false,GUIEditor_Window[2]) GUIEditor_Window[1] = guiCreateWindow(190,53,392,187,"By yaZan",false) guiSetVisible(GUIEditor_Window[1],false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Edit[1] = guiCreateEdit(66,76,280,49,"",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(67,29,306,37,"ارسل رسال بل كتابه في صندوق الحوار و اضغط ارسال",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(97,141,208,36,"ارسل للكل",false,GUIEditor_Window[1]) addEvent ( "onOpenDataWindow", true ) addEventHandler ( "onOpenDataWindow", root, function ( ) guiSetVisible ( GUIEditor_Window[1], not guiGetVisible ( GUIEditor_Window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_Window[1] ) ) guiSetInputEnabled ( guiGetVisible( GUIEditor_Window[1] ) ) end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor_Button[1] then local Data = guiGetText ( GUIEditor_Edit[1] ) if Data == "" then return end triggerServerEvent ( "onSendDataToAll", localPlayer, Data ) end end ) سيرفر aOpen_ = function ( plr_ ) local plrAccount = getPlayerAccount ( plr_ ) if not isGuestAccount ( plrAccount ) then if isObjectInACLGroup ("user."..getAccountName ( plrAccount ), aclGetGroup ( "Admin" ) ) then triggerClientEvent ( plr_, "onOpenDataWindow", plr_ ) end end end addEvent ( "onSendDataToAll", true ) addEventHandler ( "onSendDataToAll", root, function ( Data ) if tostring ( Data ) then guiSetText ( "Label,["..getPlayerName(source).."] : "..Data, root, 225, 0, 0, true ) end end ) for _, v in ipairs (getElementsByType ( "player" ) ) do bindKey ( v, "f12", "down", aOpen_ ) end addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "f12", "down", aOpen_ ) end ) سبحان الله ---------------------------------- LUA 56%
iPrestege Posted March 16, 2013 Posted March 16, 2013 كلنت GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Window[2] = guiCreateWindow(190,268,395,153,"By yaZan",false) guiSetVisible(GUIEditor_Window[2],false) guiSetAlpha(GUIEditor_Window[2],1) GUIEditor_Image[2] = guiCreateStaticImage(9,93,377,51,"images/mtalogo.png",false,GUIEditor_Window[2]) Label = guiCreateLabel(67,29,306,37,"",false,GUIEditor_Window[2]) GUIEditor_Window[1] = guiCreateWindow(190,53,392,187,"By yaZan",false) guiSetVisible(GUIEditor_Window[1],false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Edit[1] = guiCreateEdit(66,76,280,49,"",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(67,29,306,37,"ارسل رسال بل كتابه في صندوق الحوار و اضغط ارسال",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(97,141,208,36,"ارسل للكل",false,GUIEditor_Window[1]) addEvent ( "onOpenDataWindow", true ) addEventHandler ( "onOpenDataWindow", root, function ( ) guiSetVisible ( GUIEditor_Window[1], not guiGetVisible ( GUIEditor_Window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_Window[1] ) ) guiSetInputEnabled ( guiGetVisible( GUIEditor_Window[1] ) ) end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor_Button[1] then local Data = guiGetText ( GUIEditor_Edit[1] ) if Data == "" then return end triggerServerEvent ( "onSendDataToAll", localPlayer, Data ) end end ) سيرفر aOpen_ = function ( plr_ ) local plrAccount = getPlayerAccount ( plr_ ) if not isGuestAccount ( plrAccount ) then if isObjectInACLGroup ("user."..getAccountName ( plrAccount ), aclGetGroup ( "Admin" ) ) then triggerClientEvent ( plr_, "onOpenDataWindow", plr_ ) end end end addEvent ( "onSendDataToAll", true ) addEventHandler ( "onSendDataToAll", root, function ( Data ) if tostring ( Data ) then guiSetText ( "Label,["..getPlayerName(source).."] : "..Data, root, 225, 0, 0, true ) end end ) for _, v in ipairs (getElementsByType ( "player" ) ) do bindKey ( v, "f12", "down", aOpen_ ) end addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "f12", "down", aOpen_ ) end ) وينة اللبل اللي تبية يصير الكلام ذذ
iMr.Dawix~# Posted March 16, 2013 Posted March 16, 2013 triggerServerEvent addEvent addEventHandler My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
3NAD Posted March 16, 2013 Posted March 16, 2013 -- Client Side GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Window[2] = guiCreateWindow(190,268,395,153,"By yaZan",false) guiSetVisible(GUIEditor_Window[2],false) guiSetAlpha(GUIEditor_Window[2],1) GUIEditor_Image[2] = guiCreateStaticImage(9,93,377,51,"images/mtalogo.png",false,GUIEditor_Window[2]) Label = guiCreateLabel(67,29,306,37,"",false,GUIEditor_Window[2]) GUIEditor_Window[1] = guiCreateWindow(190,53,392,187,"By yaZan",false) guiSetVisible(GUIEditor_Window[1],false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Edit[1] = guiCreateEdit(66,76,280,49,"",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(67,29,306,37,"ارسل رسال بل كتابه في صندوق الحوار و اضغط ارسال",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(97,141,208,36,"ارسل للكل",false,GUIEditor_Window[1]) addEvent ( "onOpenDataWindow", true ) addEventHandler ( "onOpenDataWindow", root, function ( ) guiSetVisible ( GUIEditor_Window[1], not guiGetVisible ( GUIEditor_Window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_Window[1] ) ) guiSetInputEnabled ( guiGetVisible( GUIEditor_Window[1] ) ) end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor_Button[1] then local Data = guiGetText ( GUIEditor_Edit[1] ) if Data == "" then return end triggerServerEvent ( "onSendDataToAll", localPlayer, Data ) end end ) addEvent ( "onSendDataToPlayers", true ) addEventHandler ( "onSendDataToPlayers", root, function ( name, data ) guiSetText ( Label, "["..name.."] : "..data ) end ) -- Server Side aOpen_ = function ( plr_ ) local plrAccount = getPlayerAccount ( plr_ ) if not isGuestAccount ( plrAccount ) then if isObjectInACLGroup ("user."..getAccountName ( plrAccount ), aclGetGroup ( "Admin" ) ) then triggerClientEvent ( plr_, "onOpenDataWindow", plr_ ) end end end addEvent ( "onSendDataToAll", true ) addEventHandler ( "onSendDataToAll", root, function ( Data ) if tostring ( Data ) then triggerClientEvent ( root, "onSendDataToPlayers", root, getPlayerName(source), Data ) end end ) for _, v in ipairs (getElementsByType ( "player" ) ) do bindKey ( v, "f12", "down", aOpen_ ) end addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "f12", "down", aOpen_ ) end )
yazan Posted March 16, 2013 Author Posted March 16, 2013 مشكور الحين شلون اخله الوحه تيجي لمن ارسل و تروح بعد وقت سبحان الله ---------------------------------- LUA 56%
PaiN^ Posted March 16, 2013 Posted March 16, 2013 setTimer guiGetVisible guiSetVisible " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
yazan Posted March 16, 2013 Author Posted March 16, 2013 مشكور شتغل معي مشكور برستيج و عناد و بين و كل يلي في موضع ذا ض1 سبحان الله ---------------------------------- LUA 56%
iPrestege Posted March 16, 2013 Posted March 16, 2013 مشكور شتغل معي مشكور برستيج و عناد و بين و كل يلي في موضع ذا ض1 العفو ذذ
yazan Posted March 16, 2013 Author Posted March 16, 2013 الوده الكود كامل ما عرف يعمل وقت و يختفي يبدل الكود ذا addEvent ( "onSendDataToPlayers", true ) addEventHandler ( "onSendDataToPlayers", root, function ( name, data ) guiSetText ( Label, "["..name.."] : "..data ) guiSetVisible(GUIEditor_Window[2],true) setTimer ( function() guiSetVisible(GUIEditor_Window[2],false) end, 1000, 1 ) end ) سبحان الله ---------------------------------- LUA 56%
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