S4MuEL Posted July 4, 2013 Posted July 4, 2013 آلسسلآم عليكم , حبيت آعرف كيف آسوي ChatBox لـ الأدمنية .. توضيح : مود تآبل يلي بـ حرب آلعصآبآت ، إذآ آنت منضم بـ قروب يمديكـ تتكلم مع أعضآء آلقروب بـ حرف هـ بس آنآ آبغى آلحركة ع آلأدمنية ! ^ + آلتيمآت ، آدري آن آلشآت بوكس موجود ، بس الفنكشنآت مطلوبة وآلله يقويكم <3
فاّرس Posted July 4, 2013 Posted July 4, 2013 isObjectInACLGroup aclGetGroup getPlayerAccount getAccountName table.concat triggerClientEvent bindKey addEvent addEventHandler Sha67 سابقاً
S4MuEL Posted July 4, 2013 Author Posted July 4, 2013 آلكل فآهمهم ^ بس table.concat جديدة علي .. ممكن مثآل آللهه لآ يهيـنكـ ؟ !
./BlackBird# Posted July 4, 2013 Posted July 4, 2013 الي تحتاجه bindKey getElementsByType getPlayerAccount getAccountName isObjectInACLGroup aclGetGroup outputChatBox #~BlackBird~#
فاّرس Posted July 4, 2013 Posted July 4, 2013 آلكل فآهمهم ^بس table.concat جديدة علي .. ممكن مثآل آللهه لآ يهيـنكـ ؟ ! هذي تدمج السلسله , Sha67 سابقاً
فاّرس Posted July 4, 2013 Posted July 4, 2013 (edited) function () local arg = {...} local message = table.concat(arg, " ") triggerClientEvent("Chat",root,message) end function MSG(message) dxDrawText(message,40,180.123,800.23,21.82,tocolor(255,255,255,255),1.0,"default-bold","left","top",false,false,false) end addEventHandler("onClientRender",root,MSG) addEvent("Chat",true) addEventHandler("Chat",root,MSG) bindKey("i", "down", "chatbox","Players") ^ مو مجرب , Edited July 4, 2013 by Guest Sha67 سابقاً
iMr.3a[Z]eF Posted July 4, 2013 Posted July 4, 2013 function rdx(message) removeEventHandler ( "onClientRender", getRootElement(), dx ) function dx() dxDrawText("Admin :",13.0,167.0,55.0,182.0,tocolor(255,0,0,255),1.0,"default-bold","left","top",false,false,false) dxDrawText(message,58.0,168.0,799.0,224.0,tocolor(255,255,255,255),1.0,"default-bold","left","top",false,false,false) end addEventHandler("onClientRender", getRootElement(), dx) end addEvent("Sora", true ) addEventHandler("Sora", getRootElement(), rdx) bindKey("u", "down", "chatbox","Admin") function check(thePlayer, commandName,...) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Admin" ) ) then local veve = {...} local message = table.concat(veve, " ") triggerClientEvent("Sora", getRootElement(),message) end end addCommandHandler("Admin", check) مثال للمود العاجل حق سورا To Visit Us Press Here: mtasa://5.9.206.180:22002
./BlackBird# Posted July 4, 2013 Posted July 4, 2013 جرب ذذ addCommandHandler("Admins", function (player,cmd,text) if text then local accName = getAccountName ( getPlayerAccount ( player) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then for _,v in ipairs(getElementsByType("player")) do local account= getAccountName ( getPlayerAccount ( v) ) if isObjectInACLGroup ("user."..account, aclGetGroup ( "Admin" ) ) then outputChatBox(getPlayerName(player)..":"..text,v) end end end end end) addEventHandler("onResourceStart",resourceRoot, function () for _,v in ipairs(getElementsByType("player")) do bindKey(v,"u","down","chatbox","Admins") end end) #~BlackBird~#
فاّرس Posted July 4, 2013 Posted July 4, 2013 جرب ذذ addCommandHandler("Admins", function (player,cmd,text) if text then local accName = getAccountName ( getPlayerAccount ( player) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then for _,v in ipairs(getElementsByType("player")) do local account= getAccountName ( getPlayerAccount ( v) ) if isObjectInACLGroup ("user."..account, aclGetGroup ( "Admin" ) ) then outputChatBox(getPlayerName(player)..":"..text,v) end end end end end) addEventHandler("onResourceStart",resourceRoot, function () for _,v in ipairs(getElementsByType("player")) do bindKey(v,"u","down","chatbox","Admins") end end) تخبيص تايم , Sha67 سابقاً
iMr.3a[Z]eF Posted July 4, 2013 Posted July 4, 2013 جرب ذذ addCommandHandler("Admins", function (player,cmd,text) if text then local accName = getAccountName ( getPlayerAccount ( player) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then for _,v in ipairs(getElementsByType("player")) do local account= getAccountName ( getPlayerAccount ( v) ) if isObjectInACLGroup ("user."..account, aclGetGroup ( "Admin" ) ) then outputChatBox(getPlayerName(player)..":"..text,v) end end end end end) addEventHandler("onResourceStart",resourceRoot, function () for _,v in ipairs(getElementsByType("player")) do bindKey(v,"u","down","chatbox","Admins") end end) ههههههههههههه هذا كله عشان الأوت بوت شات ذذذ,, To Visit Us Press Here: mtasa://5.9.206.180:22002
S4MuEL Posted July 4, 2013 Author Posted July 4, 2013 فشلت من ورآ آلـ table concat خلآص يعطيكم آلعآفيةة ..
./BlackBird# Posted July 4, 2013 Posted July 4, 2013 جرب ذذ addCommandHandler("Admins", function (player,cmd,text) if text then local accName = getAccountName ( getPlayerAccount ( player) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then for _,v in ipairs(getElementsByType("player")) do local account= getAccountName ( getPlayerAccount ( v) ) if isObjectInACLGroup ("user."..account, aclGetGroup ( "Admin" ) ) then outputChatBox(getPlayerName(player)..":"..text,v) end end end end end) addEventHandler("onResourceStart",resourceRoot, function () for _,v in ipairs(getElementsByType("player")) do bindKey(v,"u","down","chatbox","Admins") end end) ههههههههههههه هذا كله عشان الأوت بوت شات ذذذ,, اول شي هذا يتحقق اذا كان ادمن بعدين يجيب كل الاعبين و يجيب الادمنين منهم بعدين يطلع الكلام الي كتبه الاعب طيب ورنا كودكك # #~BlackBird~#
3NAD Posted July 4, 2013 Posted July 4, 2013 addCommandHandler ( "Admins", function ( player, cmd, text ) if text then local playerAccount = getPlayerAccount ( player ) if playerAccount and not isGuestAccount ( playerAccount ) then if isObjectInACLGroup ( "user."..getAccountName ( playerAccount ), aclGetGroup ( "Admin" ) ) then for _, v in ipairs ( getElementsByType ( "player" ) ) do local playersAccount = getPlayerAccount ( v ) if playersAccount and not isGuestAccount ( playersAccount ) then if isObjectInACLGroup ( "user."..getAccountName ( playersAccount ), aclGetGroup ( "Admin" ) ) then outputChatBox ( getPlayerName ( player )..": "..text, v ) end end end end end end end ) addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "u", "down", "chatbox", "Admins" ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "u", "down", "chatbox", "Admins" ) end )
iPrestege Posted July 4, 2013 Posted July 4, 2013 مالها داعي بس ذا بست مدري لية حطها ؟ تقدر تسويها كذا بسيطة مثل 3NAD < >
فاّرس Posted July 4, 2013 Posted July 4, 2013 (edited) مالها داعي بس ذا بست مدري لية حطها ؟تقدر تسويها كذا بسيطة مثل 3NAD < > كيف مالها داعي؟ بكذا اظن ما بتطلع الا اول كلمه !! Edited September 23, 2013 by Guest Sha67 سابقاً
PaiN^ Posted July 5, 2013 Posted July 5, 2013 مالها داعي بس ذا بست مدري لية حطها ؟تقدر تسويها كذا بسيطة مثل 3NAD < > كيف مالها داعي, بطريقة عناد ما راح يطلع بالشات إلا أول كلمة جرب كذا : addCommandHandler( "Admins", function( player, cmd, ... ) if ... then local msg = table.concat( { ... }, " " ) local playerAccount = getPlayerAccount( player ) if playerAccount and not isGuestAccount( playerAccount ) then if isObjectInACLGroup( "user."..getAccountName( playerAccount ), aclGetGroup( "Admin" ) ) then for _, v in ipairs( getElementsByType( "player" ) ) do local playersAccount = getPlayerAccount( v ) if playersAccount and not isGuestAccount( playersAccount ) then if isObjectInACLGroup( "user."..getAccountName( playersAccount ), aclGetGroup( "Admin" ) ) then outputChatBox( getPlayerName( player )..": "..msg, v, 255, 255, 255, true ) end end end end end end end ) addEventHandler( "onResourceStart", resourceRoot, function( ) for _, v in ipairs( getElementsByType( "player" ) ) do bindKey( v, "u", "down", "chatbox", "Admins" ) end end ) addEventHandler( "onPlayerJoin", root, function( ) bindKey( source, "u", "down", "chatbox", "Admins" ) end ) " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
POWR Posted July 5, 2013 Posted July 5, 2013 يا الاخو بلا تطويل سالفةة ! خذ مود تابل بعد موافقةة منه ..~ وادرسةة ونتهت السالفةة !! Emil:3zooz-070@w.cn ------------------------- Gang:[Gta-Pro]
iMr.Dawix~# Posted July 6, 2013 Posted July 6, 2013 SoRa جميع الحقوق محفوظه لـ تفضل تعديل بسيط بث --[[ Admin Message Script Fixed by |S.s|SoRa visit us : [url=http://www.gta-arabs.com]http://www.gta-arabs.com[/url] --]] function check(thePlayer, commandName,...) local accName = local veve = {...} local message = table.concat(veve, " ") for k,v in ipairs (getElementsByType("player")) do if isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(v)),aclGetGroup("Admin")) and not isGuestAccount(v) then outputChatBox("* "..getPlayerName(thePlayer)..": "..message,v,255,255,255,true) end end end addCommandHandler("AM", check) bindKey("u", "down", "chatbox","AM") My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
PaiN^ Posted July 6, 2013 Posted July 6, 2013 كودي شغال يا ضاوي " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
iMr.Dawix~# Posted July 6, 2013 Posted July 6, 2013 كودي شغال يا ضاوي Sorry ,, خله احتياط My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
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