-
Posts
621 -
Joined
-
Last visited
-
Days Won
8
Everything posted by MrKAREEM
-
Use This Code DxDrawText
-
Try Using This Code GuiGetScreenSize
-
Do U Want Make Rank System Give Ranks With Points ?
-
Nice Script But Make Update To This In The Future Because It isnot Cool Exatlly
-
-×][ افضل استضافة لبيع خوادم MTA SA و TEAM SPEAK][×-
MrKAREEM replied to abdennour-mez's topic in الاستضافات
موفق -
هههههههههههههههههههه
-
Check Youtube You Will Get Your Help
- 1 reply
-
- 1
-
-
Check This Resource [ maximap ]
-
انا مفهمتش اي شئ من الي انت كتبته بس موفق ضض
-
موفق حب وشكراَ علي الاهداء
-
Thnx Pro It Works Now
-
Also Be Amazing Good Gob !
-
How i can see client console script?
MrKAREEM replied to CITMartin's topic in Open Source Contributors
I do not think it can be Edite -
Soo U Want This Code For Creating Browser :- CreateBrowser
-
Yes it would be amazing
-
Ok U Are Welcome
-
تحتاج برامج تصميم المجسمات الثري دي تقدر تحول بهذا البرنامج Zmodeler3
-
مود تشغيل و اطفاء الجرافكس حصريا شكل جديد و مطور جدا الان فقط هنا
MrKAREEM replied to سعد الغامدي's topic in المساهمات
موفق حب -
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
-
ضض هههههههه
-
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
-
ملف السيرفر 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 )