Jump to content

SaedAmer

Members
  • Posts

    906
  • Joined

  • Last visited

Everything posted by SaedAmer

  1. ممكن الكود جاهز ؟ باسم المود localchat-SaedAmer المود يفتح ب اف 8 ولا كيف ؟ ده مود عباره عن شات لوكال من هرف ه
  2. ممكن الكود جاهز ؟ باسم المود localchat-SaedAmer
  3. نفس الشئ ما في حاجة اتغيرت
  4. طيب انسخ الترايقر وحطه فى بوتون 3 و4 تم شكرا اخر شئ كود اول ما اضغط علي بطن مثلا اول ما اضغط علي بطن 1 يفتح مود و لما اضغط علي بطن 2 يقفل المود
  5. لما بشغل المود بيفتح علي طول من غير ما اكتب في ف8 c.c
  6. تم شكرا ده فيه خطأ ؟ function Strong ( ) guiSetVisible ( Window,true ) showCursor ( true ) end addCommandHandler ( "c.c",Strong )
  7. اه اخي + احنا خلصنا بطن 1 و 2 فاضل 3 و 4 عاوزهم يعملو زي بطن 1 و 2 بس كده يعني 1 بيفتح الشات عاوز 3 كمان تفتح الشات و مفس الكلام 2 تقفل الشات و 4 تقفل الشات
  8. مافهمت ممكن توضح اكثر بطن 3 عاوزه يعمل زي بطن 1 بس الي هيتغير هيتكتب في الشات [C.Console]: Chat has been enabled by ِAdan و بطن 4 نفس الكلام يعمل زي بطن 2 بس الي هيتغير هيتكتب في الشات [C.Console]: Chat has been locked by ِAdan
  9. addEventHandler("onClientGUIClick",resourceRoot,function() if source == GUIEditor.button[1] then outputChatBox('[C.Console]: Chat has been open by ' ..getPlayerName(player),255, 0, 0, true ) end end)
  10. شكرا علي تعبك بس لو عاوز نفس الاكواد لبوتن 3 و 4 بس الكلمة الي لما اضغط علي الزر تطلع في الشات تتغير -------------
  11. addEventHandler("onClientGUIClick",resourceRoot,function() if source == button then outputChatBox('Text',255, 0, 0, true ) end end) addEventHandler("onClientGUIClick",resourceRoot,function() if source == GUIEditor.button[1] then outputChatBox('[C.Console]: Chat has been open by " ..getPlayerName(player).. ',255, 0, 0, true ) end end) في خطأ ؟
  12. ابي كود لما اضغط علي زر يطلع كلام بالشات
  13. server addEvent("onPlayerOpenChat",true) addEvent("onPlayerCloseChat",true) function playerchat() if eventName == "onPlayerOpenChat" then addEventHandler("onPlayerChat",root,chatbox) elseif eventName == "onPlayerCloseChat" then removeEventHandler("onPlayerChat",root,chatbox) end end addEventHandler("onPlayerCloseChat",root,playerchat) addEventHandler("onPlayerOpenChat",root,playerchat) addEventHandler("onPlayerChat",root, function( text, type) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL1")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#0099DC* [ Lv.1 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL2")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#2554C7* [ Lv.2 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL3")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#00cc11* [ Lv.3 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL4")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007700* [ Lv.4 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL5")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#cc0000* [ Lv.5 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin1")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Lv.6 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Head-Admin")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#C11B17* [ Head.Admin ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Console ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Manager")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#347235* [ T-Developer ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin-Ex")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#777777* [ Admin - EX ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Police")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007F7F* [ Soldier ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FFFFFF* " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) end end ) outputChatBox("[C.Console]: Chat has been open by " ..getPlayerName(player).. " ",root,0,255,0,true) addEvent("onPlayerCloseChat",true) function chatbox( text, type ) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Console ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) end end function createTeamsOnStart () outputChatBox ("[#Chat Loked By Console] ", getRootElement(), 255, 255, 255, true) roobB = createObject (2634, 308.10000610352, 2516.3999023438, 17.5, 0, 0, 186) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) outputChatBox ("[C.Console]: Chat has been locked by Console ", root,255,255,255,true) clint function Strong ( ) guiSetVisible ( NameWindow,true ) showCursor ( true ) end addCommandHandler ( "c.c",Strong ) addEventHandler("onClientGUIClick",guiRoot, function() if source == GUIEditor.button[1] then triggerServerEvent("onPlayerOpenChat",localPlayer) elseif source == GUIEditor.button[2] then triggerServerEvent("onPlayerCloseChat",localPlayer) end end) في السيرفر لما بضغط بطن 1 المفروض يطلع كلام بالشات و مش عاوزو يتكرر الكلام و لما بضغط بطن 2 بردو يطلع كلام بلشات و الكونسول بس هو الي يقضر يتكلم اما الكلنت ابيه يفتح من ف8 ب كلمة c.c
  14. حد يساعدني يا جماعة
  15. اوك طيب ده server addEvent("onPlayerOpenChat",true) addEvent("onPlayerCloseChat",true) function playerchat() if eventName == "onPlayerOpenChat" then addEventHandler("onPlayerChat",root,chatbox) elseif eventName == "onPlayerCloseChat" then removeEventHandler("onPlayerChat",root,chatbox) end end addEventHandler("onPlayerCloseChat",root,playerchat) addEventHandler("onPlayerOpenChat",root,playerchat) addEventHandler("onPlayerChat",root, function( text, type) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL1")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#0099DC* [ Lv.1 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL2")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#2554C7* [ Lv.2 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL3")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#00cc11* [ Lv.3 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL4")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007700* [ Lv.4 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL5")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#cc0000* [ Lv.5 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin1")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Lv.6 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Head-Admin")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#C11B17* [ Head.Admin ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Console ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Manager")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#347235* [ T-Developer ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin-Ex")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#777777* [ Admin - EX ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Police")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007F7F* [ Soldier ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FFFFFF* " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) end end ) outputChatBox("[C.Console]: Chat has been open by " ..getPlayerName(player).. " ",root,0,255,0,true) addEvent("onPlayerCloseChat",true) function chatbox( text, type ) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Console ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) end end function createTeamsOnStart () outputChatBox ("[#Chat Loked By Console] ", getRootElement(), 255, 255, 255, true) roobB = createObject (2634, 308.10000610352, 2516.3999023438, 17.5, 0, 0, 186) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) outputChatBox ("[C.Console]: Chat has been locked by Console ", root,255,255,255,true) clint function Strong ( ) guiSetVisible ( NameWindow,true ) showCursor ( true ) end addCommandHandler ( "c.c",Strong ) addEventHandler("onClientGUIClick",guiRoot, function() if source == GUIEditor.button[1] then triggerServerEvent("onPlayerOpenChat",localPlayer) elseif source == GUIEditor.button[2] then triggerServerEvent("onPlayerCloseChat",localPlayer) end end) في السيرفر لما بضغط بطن 1 المفروض يطلع كلام بالشات و مش عاوزو يتكرر الكلام و لما بضغط بطن 2 بردو يطلع كلام بلشات و الكونسول بس هو الي يقضر يتكلم اما الكلنت ابيه يفتح من ف8 ب كلمة c.c
  16. addEvent("onPlayerOpenChat",true) addEvent("onPlayerCloseChat",true) function playerchat() if eventName == "onPlayerOpenChat" then addEventHandler("onPlayerChat",root,chatbox) elseif eventName == "onPlayerCloseChat" then removeEventHandler("onPlayerChat",root,chatbox) end end addEventHandler("onPlayerCloseChat",root,playerchat) addEventHandler("onPlayerOpenChat",root,playerchat) addEventHandler("onPlayerChat",root, function chatbox( text, type) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL1")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#0099DC* [ Lv.1 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL2")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#2554C7* [ Lv.2 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL3")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#00cc11* [ Lv.3 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL4")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007700* [ Lv.4 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL5")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#cc0000* [ Lv.5 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin1")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Lv.6 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Head-Admin")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#C11B17* [ Head.Admin ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Console ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Manager")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#347235* [ T-Developer ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin-Ex")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#777777* [ Admin - EX ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Police")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007F7F* [ Soldier ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FFFFFF* " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) end end addEvent("onPlayerCloseChat",true) function chatbox( text, type ) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Console ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) end end
  17. ايه الغلط في السيرفر سيد ؟؟
  18. اسم صاحبها ملوكي اسم الاستضافة كايرو هوست --- انا كلمتهم قالي غيرلي السيرفر و انا دلوقتي بجرب الاسم هيظهر ولا لا
  19. حد يقول الحل ؟؟
  20. ايه الخطا هنا ؟ addEvent("onPlayerOpenChat",true) addEvent("onPlayerCloseChat",true) function playerchat() if eventName == "onPlayerOpenChat" then addEventHandler("onPlayerChat",root,chatbox) elseif eventName == "onPlayerCloseChat" then removeEventHandler("onPlayerChat",root,chatbox) end end addEventHandler("onPlayerCloseChat",root,playerchat) addEventHandler("onPlayerOpenChat",root,playerchat) addEventHandler("onPlayerChat",root, function chatbox( text, type) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL1")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#0099DC* [ Lv.1 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL2")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#2554C7* [ Lv.2 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL3")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#00cc11* [ Lv.3 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL4")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007700* [ Lv.4 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("LVL5")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#cc0000* [ Lv.5 ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin1")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Lv.6 ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Head-Admin")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#C11B17* [ Head.Admin ] " .. getPlayerName ( source ) ..": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Console ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Manager")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#347235* [ T-Developer ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin-Ex")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#777777* [ Admin - EX ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Police")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#007F7F* [ Soldier ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FFFFFF* " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) end end addEvent("onPlayerCloseChat",true) function chatbox( text, type ) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000* [ Console ] " .. getPlayerName ( source ) .. ": #ffFFff" .. text, getRootElement(), r, g, b, true ) end end
  21. صح ؟ function OpenWin() if guiGetVisible ( window ) then guiSetVisible ( window, false ) showCursor(false) guiSetInputEnabled(false) triggerServerEvent("onGetPlayers",localPlayer) else guiSetVisible ( window, true ) showCursor(true) guiSetInputEnabled(true) triggerServerEvent("onGetPlayers",localPlayer) end end bindKey("F5", "down", OpenWin) addEventHandler("onClientGUIClick",guiRoot, function() if ( source == GUIEditor.button[1] ) then triggerServerEvent("onPlayerOpenChat",localPlayer) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent("onPlayerCloseChat",localPlayer) end end ) + ابيه يفتح بكلمة من ق8 و كود التاج احطه وين ؟
×
×
  • Create New...