Jump to content

кιηg-αвα∂у

Members
  • Posts

    396
  • Joined

  • Last visited

Everything posted by кιηg-αвα∂у

  1. --server side function check(thePlayer, commandName,...) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Admin" ) ) and isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Console" ) ) and isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "abodi-only" ) ) then local veve = {...} local message = table.concat(veve, " ") triggerClientEvent("3azef", getRootElement(),message) end end addCommandHandler("Admin", check) --client side function rdx(message) removeEventHandler ( "onClientRender", getRootElement(), dx ) function dx(source) dxDrawText("Admin" .. getPlayerName(source) .. ":",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("3azef", true ) addEventHandler("3azef", getRootElement(), rdx) bindKey("u", "down", "chatbox","Admin")
  2. بيضبط لآنه الكود صغير يعني التحميل لهذه الكود بيخلص بسرعه
  3. client side t = setTimer( function() if isTransferBoxActive() == false then fadeCamera( false ) killTimer(t) end end,100,0)
  4. هذي تفتح بزر ... يمكن هو يبغى لما يتقرب اللاعب .. ؟ يعدلها بنفسه
  5. قصدهم الكلنت لو تستخدمة ماراح تتغير بـ السيرفر يعني وهمية اها , احين فهمت مشكور بس المفروض يصصير if Using this function client side will not change a players money server side.
  6. Using this function client side will not change a players money server side. الفلوس كلنت وهمية عرفت؟ انا ادري انه الفلوس في كلنت وهمية بس على الكلام الي في الويكي انه لما تستخدما في سيرفر ماراح تتغير الفلوس
  7. pairs استخدم + القيمة مولازم تكون جدول, دامها شي واحد بس انا ابغي اسوي بوابة ماتفتح الا لسريالات معينة
  8. Using this function client side will not change a players money server side.
  9. وش دخلة في الموضوع بس؟ اللي تقولة؟ set انت تقول المفروض احط بدل give في الويكي تحصل give ولما تدخل على Note: Using this function client side (not recommended) will not change a players money server side. في ملف سيرفر give يعني مايصلح تستخدم
  10. انا حطيت لصاحب الموضوع setPlayerMoney انت رديت علي بـ set = ? give وانا رديت عليك بـ Note: Using this function client side (not recommended) will not change a players money server side. https://wiki.multitheftauto.com/wiki/GivePlayerMoney
  11. set = ? give Note: Using this function client side (not recommended) will not change a players money server side.
  12. 'onPlayerWasted' getPlayerTeam getTeamName setPlayerMoney
  13. ListSerial = { [1] = { 'serial' }, [2] = { 'serial' }, [3] = { 'serial' }, [4] = { 'serial' } } bind = function( element ) bindKey( element,'tab','down' openORclose ) end addEventHandler('onPlayerJoin', root, function() for i,list in ipairs ( ListSerial ) do if ( getPlayerSerial( source ) == list ) then bind( source ) end end end ) addEventHandler('onResourceStart', resourceRoot, function() for i,list in ipairs ( ListSerial ) do for i,v in ipairs ( getElementsByType( 'player' ) ) do if ( getPlayerSerial( v ) == list ) then bind( v ) end end end end ) ob = createObject( id, x, y, z, rx, ry, rz ) ma = createMarker( x, y, z, "cylinder", size, r, g, b, alpha ) isOben = false openORclose = function() if isOben == false and isElementWithinMarker( source, ma ) then moveObject( ob, 1000, x, y, z ) playSoundFrontEnd( source, 16 ) isOben = true elseif isOben == true and isElementWithinMarker( source, ma ) then moveObject( ob, 1000, x, y, z ) playSoundFrontEnd( source, 16 ) isOben = false end end
  14. وين الكلمات ؟ تيتي عدل مشاركتي وامسحهم Words حطهم فوق داخل جدول
  15. local root = getRootElement() local Words = { "removed - Tete, Reason: insults" }; function chatbox(text, msgtype) local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) cancelEvent() if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox("#FF0000* [ Admin ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Police")) then outputChatBox("#999999 * [ Police ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("admint")) then outputChatBox("#993333* [ مسؤل الادمنيات ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin2")) then outputChatBox("#dd0000* [ Scripter ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("WorkShop")) then outputChatBox("#A23BEC* [ WorkShop ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Vote")) then outputChatBox("#7F5A58* [ Voted To Mod ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#C11B17* [ Owner ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("كموره")) then outputChatBox("#C11B17* [ Head Admin ] #FF0000❤彡●【#00BBFFالاسطوره كموره#FF0000】●彡❤ : #ffFFff"..text , getRootElement(), 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("نايف")) then outputChatBox("#ff8756* 彡 [ Owner Server 6AraT ] 彡 نـآيف : #ffFFff"..text , getRootElement(), 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SuperModerator")) then outputChatBox("#1D9C00* [ SuperModerator 1 ] " .. name ..":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SuperModerator2")) then outputChatBox("#259117* [ SuperModerator 2 ] " .. name ..":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Moderator")) then outputChatBox("#0044ff* [ Moderator 1 ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Moderator2")) then outputChatBox("#2554C7* [ Moderator 2 ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("V.I.P")) then outputChatBox("#C8BBBE* [ V.I.P ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("7Rame")) then outputChatBox("#52F3FF* [ Gang member ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head.Admin")) then outputChatBox("#C11B17* [ Head Admin ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Big.Admin")) then outputChatBox("#444444* [ Big.Admin ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("KingDrift")) then outputChatBox("#D4A017* [ King Of Drift ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#717D7D* [ #FFFFFF#ff0000" .. name .. "#717D7D ] :#ffffff " .. text, root, 255, 255, 255, true) end for _, v in ipairs ( Words ) do if string.find ( text, v ) then return outputChatBox ( '#717D7D* [#FF0000 '..getPlayerName( source )..'#717D7D ] :#FFFFFF لا إله إلا الله وحده لا شريك له له الملك وله الحمد وهو على كل شئ قدير', root, 255, 0, 0, true ); end end end addEventHandler("onPlayerChat", root, chatbox)
  16. لما تركب سيارة يكون التركيب من ملف كلينت لما يشتغل المود في هذي السيارات تختار السيارات الي تبي تركبها مو الي تبي تغشلها التشغيل لآزم عند الكل
  17. +1 الجيم مود لما يشتغل يطفي الجيم مود الي قبل عند كل الاعبيين اتوقع صاحب الموضوع قصده يسوي جيم مود هجولة و ديث ماتش مو يشغلهم طيب ليه مايختصر ويسوي قيم مود ديث ماتش و هجولة في نفس القيم مود .. ! بحيث انه تشغل البلاي وتسوي لك ماب ومودات ديث ماتش وتخلي لاعبين الديث ماتش في عالم لوحدهم والهجولة في عالم وحدهم ... اعتقد كذا افضل .. ؟ هذه الي اقصد انا ويقصد صاحب الموضوع بس صاحب الموضوع ماوضح كلامه
  18. local marker = createMarker ( ......) addEventHandler("onClientMarkerHit", marker, function( playerHit ) if ( getElementType( playerHit ) == ( "player" ) ) then setElementInterior( playerHit, 17 ) end end ) "Samuel" version="1.1" type="script" name = "ZzZ"/>
  19. اذا كان الاعب في عالم 0 مايحتاج تحط هذي setElementDimension( player, 0 ) جرب بدون تغير العالم -- server side local marker = createMarker ( ......) addEventHandler("onMarkerHit", marker, function( playerHit ) if ( getElementType( playerHit ) == ( "player" ) ) then setElementInterior( playerHit, 17 ) end end ) اذا ماضبط debugscript 3
×
×
  • Create New...