Jump to content

Ahmed Ly

Members
  • Posts

    1,304
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Ahmed Ly

  1. Ahmed Ly

    طلب

    السلام عليكم كيف احط كل مابات التكتيك في GridList
  2. اذا شفرته بياخذ ملف الكلنت و يسوي ميتا و المود صار معه خلاص و يمكن بفك التشفير ابيه ما يظهر عنده اساسا استخدم هدا احسن لانه ما رح يظهر ملف المود عند لاعب في ملف resource cache="false"
  3. exports.topbarchat:sendClientMessage("ADMIN: $admin has muted $player $data $data2",source,0,255,0)
  4. Ahmed Ly

    Logs Folder

    server\mods\deathmatch\logs\server.log
  5. function mm ( button , press ) if button == "s" or button == "w" and press and getElementDimension(localPlayer) == 5 then cancelEvent () end end addEventHandler("onClientKey",root,mm)
  6. مشكووووووووووووووووووووووووووووووووووووووور + يغلق
  7. السلام عليكم كل عام و انتم بخير نبي كود يفتح الوحه بزرين يعني عشان اقدر افتح الوحه اضغط علي Ctrl+x
  8. addEvent("Floos", true) addEventHandler("Floos", root, function( amount,playerName ) local name = getPlayerName(source) local Money = getPlayerMoney(source) local player1 = getPlayerName(playerName) if Money == 0 then outputChatBox("ليس لديك المال الكافي",source,0,255,0)return end takePlayerMoney(source,amount) givePlayerMoney(playerName,amount) outputChatBox("#ff0000*#ffff00[Admin]#ff0000 You Has Give #ffff00( " .. player1 .. " #00ff00$#ffff00 ) Money ", root, 0, 150, 255, true) outputChatBox("#ff0000*#ffff00[Admin]#ff0000 *".. name .. " #ff0000Has Given you #FFFF00( " .. player1 .. " #00ff00$#ffff00 ) Money #ff0000 !", root, 255, 0, 0, true) end ) --- سيرفر addEventHandler("onClientGUIClick",root, function() if ( source == GUIEditor.button[1] ) then local plr = guiGridListGetItemText ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) local amount = guiGetText(GUIEditor.edit[1]) local playerName = getPlayerFromName(plr) triggerServerEvent("Floos",localPlayer,amount,playerName) end end )
  9. ---كلنت addEvent("Floos", true) addEventHandler("Floos", root, function( amount,playerName ) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup("Console")) then local toWho = getPlayerFromName(playerName) local player = getPlayerName(toWho) local name = getPlayerName(source) local Money = getPlayerMoney(source) if Money == 0 then return end if tonumber(amount) then takePlayerMoney(source,tonumber(amount)) givePlayerMoney(toWho,amount) outputChatBox("#ff0000*#ffff00[Admin]#ff0000 You Has Give #ffff00( " .. player .. " #00ff00$#ffff00 ) Money ", root, 0, 150, 255, true) outputChatBox("#ff0000*#ffff00[Admin]#ff0000 *".. name .. " #ff0000Has Given you #FFFF00( " .. player .. " #00ff00$#ffff00 ) Money #ff0000 !", root, 255, 0, 0, true) else outputChatBox("#ff0000*#ffff00[Admin]#ff0000 Please Select Player!!", source, 255, 0, 0, true) end end end ) --- سيرفر addEventHandler("onClientGUIClick",root, function() if ( source == GUIEditor.button[1] ) then local playerName = guiGridListGetItemText ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) local amount = guiGetText(GUIEditor.edit[1]) triggerServerEvent("Floos",localPlayer,amount,playerName) end end )
×
×
  • Create New...