Jump to content

MrKAREEM

Members
  • Posts

    621
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by MrKAREEM

  1. Use This Code DxDrawText
  2. عند دخول اللاعب للسيرفر يتحقق اذا سيريال اللاعب المحدد موجود في قاعدة البيانات
  3. Try Using This Code GuiGetScreenSize
  4. Do U Want Make Rank System Give Ranks With Points ?
  5. Nice Script But Make Update To This In The Future Because It isnot Cool Exatlly
  6. هههههههههههههههههههه
  7. Check Youtube You Will Get Your Help
  8. Nice
  9. موفق
  10. انا مفهمتش اي شئ من الي انت كتبته بس موفق ضض
  11. Also Be Amazing Good Gob !
  12. I do not think it can be Edite
  13. Soo U Want This Code For Creating Browser :- CreateBrowser
  14. Yes it would be amazing
  15. Ok U Are Welcome
  16. تحتاج برامج تصميم المجسمات الثري دي تقدر تحول بهذا البرنامج Zmodeler3
  17. this posting as is there any arabian help me and when i said neux i said u help me in the previous english post and thanks for help
  18. ok i edite it is it true now ? function MrKAREEM () local time = getRealTime () local hours = time.hour local minutes = time.minute if hours == 12 and minutes == 30 outputChatBox ( "حان موعد اذان الظهر", 255, 0, 0, true ) elseif hours == 4 and minutes == 10 outputChatBox ( "حان موعد اذان العصر", 255, 0, 0, true ) elseif hours == 6 and minutes == 00 outputChatBox ( "حان موعد اذان المغرب", 255, 0, 0, true ) elseif hours == 7 and minute == 25 outputChatBox ( "حان موعد اذان العشاء", 255, 0, 0, true ) end end
  19. ملف السيرفر local Groups = { "Console", "AM" } local Serials = { ["سريالك1"] = true, ["سريالك2"] = true } function isPlayerAdmin(player) for k,v in ipairs ( Groups ) do if aclGetGroup(v) then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)), aclGetGroup(v)) then return true end end end end addEventHandler("onResourceStart", resourceRoot, function() for _,player in ipairs(getElementsByType("player")) do if isPlayerAdmin(player) then bindKey(player, "u", "down", "chatbox", "IM") end end end ) addCommandHandler("IM", function(player,_,...) local data = getElementData(getResourceRootElement(getThisResource()), "AdminMessage") or {false, "", "opened"} if not isGuestAccount(getPlayerAccount(player)) then if isPlayerAdmin(player) then if data[2] ~= "closed" then local message = table.concat({...}, " ") setElementData(getResourceRootElement(getThisResource()), "AdminMessage", {true, message, "opened"}) else outputChatBox("العاجل مغلق", player, 255, 0, 0, true) end end end end ) addCommandHandler("قفل", function(player) if Serials[getPlayerSerial(player)] then local data = getElementData(getResourceRootElement(getThisResource()), "AdminMessage") or {false, "", "opened"} if data[3] ~= "closed" then setElementData(getResourceRootElement(getThisResource()), "AdminMessage", {true, data[2], "closed"}) outputChatBox("تم اغلاق العاجل", player, 255, 0, 0, true) else setElementData(getResourceRootElement(getThisResource()), "AdminMessage", {true, data[2], "opened"}) outputChatBox("تم فتح العاجل", player, 0, 255, 0, true) end end end ) ملف الكلينت #@ function dxDrawBorderedText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, color2 ) local wh = 1 local msg_gsub = text:gsub ( '#%x%x%x%x%x%x', '' ) dxDrawText ( msg_gsub, x - wh, y - wh, w - wh, h - wh, tocolor ( 0, 0, 0, 0 ), scale, font, alignX, alignY, clip, wordBreak, false ) -- black dxDrawText ( msg_gsub, x + wh, y - wh, w + wh, h - wh, tocolor ( 0, 0, 0, 0 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( msg_gsub, x - wh, y + wh, w - wh, h + wh, tocolor ( 0, 0, 0, 0 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( msg_gsub, x + wh, y + wh, w + wh, h + wh, tocolor ( 0, 0, 0, 0 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( msg_gsub, x - wh, y, w - wh, h, tocolor ( 0, 0, 0, 0 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( msg_gsub, x + wh, y, w + wh, h, tocolor ( 0, 0, 0, 0 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( msg_gsub, x, y - wh, w, h - wh, tocolor ( 0, 0, 0, 0 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( msg_gsub, x, y + wh, w, h + wh, tocolor ( 0, 0, 0, 0 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, color2 ) end addEventHandler("onClientRender", root, function () local data = getElementData(getResourceRootElement(getThisResource()), "AdminMessage") or {false, "", "N/A"} local text = data[2] if data[1] then dxDrawBorderedText("#1a75ffAdmin : #FFFFFF"..text, 33, 221, 205, 242, tocolor(255, 255, 255, 255), 1.0, "default-bold", "left", "top", true, false, true, true, true) end end )
×
×
  • Create New...