Jump to content

Dr.Ah[M]ed<3

Members
  • Posts

    105
  • Joined

  • Last visited

Everything posted by Dr.Ah[M]ed<3

  1. الوجن اشتغل بس مشكلة في عمل حساب مايسوي شئ اطغط علية مايسوي شئ استخدمت كود زاحف مايسوي شئ بس لما احط كودك يا ماكس يقول ERROR: xXlogin\server.lua28:attemt to concalenate local 'pass' (a nill value) يقول كذا في الريجستر
  2. زاحف في لوجن يقول كذا ERROR: xXlogin\server.lua:6: attempt to call globel "logIn' (a nill Value)
  3. حطيتة في قروب ادمن و مايسجل + يسوي حساب يقول كذا ERROR: xXlogin\server.lua:6: attempt to call globel "logIn' (a nill Value)
  4. شباب قصدو مود Guieditor هو فية في تحديث جديد انو تصمم كلام ولوحة DX بس لوحة يطلع عبارة عن مربع ب لون الي تبية فقط
  5. ذا ملف كلنت --[[ # Resource Name Grand Theft Auto V | Radar # Author Rage # Date created 25.04.2014 # Last update 17.07.2014 # Copyright (c) If you edit it, then please respect me and keep the credits. --]] local screenW,screenH = guiGetScreenSize() local resW,resH = 1280,720 local sW,sH = (screenW/resW), (screenH/resH) local turn = true local alpha = 255 addEventHandler( "onClientResourceStart", resourceRoot, function() setPlayerHudComponentVisible ( "radar", false ) --# Create Textures hudMaskFX = dxCreateShader("mask.fx") radarTexture = dxCreateTexture("img/radar_map.jpg") maskTexture = dxCreateTexture("img/radar_mask.png") checkTextures = ( hudMaskFX and radarTexture and maskTexture ) if not ( checkTextures ) then outputChatBox( "[GTA V Radar]: Could not create textures. Please use debugscript 3" ) else dxSetShaderValue( hudMaskFX, "sPicTexture", radarTexture ) dxSetShaderValue( hudMaskFX, "sMaskTexture", maskTexture ) end end ) function drawRadar() if not ( checkTextures ) then return end dxSetShaderValue( hudMaskFX, "sMaskTexture", maskTexture ) local x,y = getElementPosition( localPlayer ) local zoom = 13 x = ( x ) / 6000 y = ( y ) / -6000 dxSetShaderValue( hudMaskFX, "gUVPosition", x,y ) dxSetShaderValue( hudMaskFX, "gUVScale", 1/zoom, 1/zoom ) --# Get rotations local _, _, c_Rot = getElementRotation( getCamera()); local _, _, p_Rot = getElementRotation( localPlayer ) dxSetShaderValue( hudMaskFX, "gUVRotAngle", math.rad( -c_Rot )) local playerHealth = math.floor( getElementHealth( localPlayer )) local playerArmor = math.floor( getPedArmor( localPlayer )) local playerOxygen = math.floor( getPedOxygenLevel( localPlayer )) if ( playerHealth <= 50) then HP_Colour = tocolor(200, 0, 0, 190) HP_Alpha = tocolor(200, 0, 0, 100) else HP_Colour = tocolor(102, 204, 102, 190) HP_Alpha = tocolor(102, 204, 102, 100) end if ( playerHealth >= 101 ) then maxHealth = 200 else maxHealth = 100 end --# Alpha dxDrawRectangle(23.5*sW, 676.5*sH, 130.5*sW, 9.2*sH, HP_Alpha) dxDrawRectangle(156.6*sW, 676.5*sH, 65*sW, 9.2*sH, tocolor(0, 102, 255, 100)) dxDrawRectangle(225*sW, 676.5*sH, 62.6*sW, 9.2*sH, tocolor(255, 255, 0, 100)) --# Bars dxDrawRectangle(23.5*sW, 676.5*sH, 130.5*sW/maxHealth*playerHealth, 9.2*sH, HP_Colour) dxDrawRectangle(156.6*sW, 676.5*sH, 65*sW/100*playerArmor, 9.2*sH, tocolor(0, 102, 255, 190)) dxDrawRectangle(225*sW, 676.5*sH, 62.6*sW/1000*playerOxygen, 9.2*sH, tocolor(255, 255, 0, 190)) --# Minimap dxDrawImage(18*sW, 530*sH, 275*sW, 160*sH, "img/radar_cover.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(23*sW, 536*sH, 265*sW, 135*sH, hudMaskFX, 0,0,0, tocolor(255,255,255,210)) dxDrawImage(144*sW, 595*sH, 20*sW, 20*sH, "img/radar_player.png", -p_Rot+c_Rot, 0, 0, tocolor(255, 255, 255, 255)) --# Wanted local g_wl = getPlayerWantedLevel( localPlayer ) if ( g_wl > 0 ) then if ( turn == true ) then alpha = alpha + 5 if ( alpha > 180 ) then alpha = 180 turn = false end elseif ( turn == false ) then alpha = alpha - 5 if ( alpha < 0 ) then alpha = 0 turn = true end end dxDrawRectangle(23*sW, 536*sH, 265*sW, 135*sH, tocolor(0, 102, 255, alpha)) else return end end addEventHandler( "onClientRender", root, drawRadar) addEventHandler( "onClientResourceStop", resourceRoot, function() setPlayerHudComponentVisible ( "radar", true ) end)
  6. طيب الاكواد ذي احطة وين في ملف كلنت ؟؟ انا استخدم خريطة ثانية وكلة صور وفية ملف ميتا اكسبورت ذا ملف ميتا "Rocketman" version="1.0.1" type="script" /> استخدم مود ذا https://community.multitheftauto.com/index.php?p= ... ls&id=9004
  7. هلا ب شباب انا عندي خريطة gta v اوكي مشكلة حقتها ماتظهر الاعبين و البلبس Blips Players ماتظهرهم وش الحل ؟؟
  8. مثال الوحة ذي wnd = guiCreateWindow(358, 338, 299, 99, "Out/on/ jobs", false) guiWindowSetSizable(wnd, false) button1 = guiCreateButton(10, 23, 118, 66, "Start Shift", false, wnd) guiSetProperty(button1, "NormalTextColour", "FF10F40A") button2 = guiCreateButton(171, 23, 118, 66, "out Shift", false, wnd) guiSetProperty(button2, "NormalTextColour", "FF10F40A")
  9. جرب تعدل في كود ذا بس يمكن يكون كذا function="ShowPlayersBlipsInGTAVRadar" type="client" /> جرب ذول function="ShowPlayersBlipsInGTAVRadar" type="server" /> وجرب تشيل s من Player
  10. زاحف ا نا ابي صورة تطلع فوق راس وحدة معة فيب مو كل ناس
  11. طيب انا سويت نافذة من اف4 اوكي وتفتح و ماكيتب فوق كلمة
  12. طيب وين حقت صورة ؟؟ انت سويت حقت قروب فيب بس
  13. هلا شباب انا بدي اعرف كيف اخلي صورة تظهر فوق لاعب معة رتبة فيب VIP وشكرا
  14. ذا سجن و محل اسلحة انا بي وظيفة شرطي ؟؟
  15. هلا شباب انا دورت كتير علي مود قسم شرطة + سجن وكلهم مخيسة اذا حد عندو حلو يجيبة
  16. شكرا واشتغل طيب كيف اخلي لما كلمة تطلع تختفي تطلع لفوق مثل اصنصير مو تختفي فجاء مثل لما حقت عدد الاعبين طلعت تختفي فجاء ابية تطلع فوق كذا مثل اصنصير و تدخل برا شاشة
  17. انا سويت كذا كلنت function toggleGUI() if guiGetVisible(wnd) == true then guiSetVisible(wnd,false) showCursor(false) else guiSetVisible(wnd,true) showCursor(true) end end addEvent("toggleGUI",true) addEventHandler("toggleGUI",root,toggleGUI) سيرفر addEventHandler("onPlayerJoin",root, function () bindKey(source,"F4","down",showGUI) end) addEventHandler("onResourceStart",resourceRoot, function () for index, player in ipairs(getElementsByType("player")) do bindKey(player,"F4","down",showGUI) end end) function showGUI(thePlayer) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)),aclGetGroup("Admin")) then triggerClientEvent(thePlayer,"toggleGUI",thePlayer) else outputChatBox("You must be an admin",thePlayer,255,0,0) end end وجربت افتح لوحة من اف4 وتفتح وذا الوحة wnd = guiCreateWindow(358, 338, 299, 99, "Out/on/ jobs", false) guiWindowSetSizable(wnd, false) button1 = guiCreateButton(10, 23, 118, 66, "Start Shift", false, wnd) guiSetProperty(button1, "NormalTextColour", "FF10F40A") button2 = guiCreateButton(171, 23, 118, 66, "out Shift", false, wnd) guiSetProperty(button2, "NormalTextColour", "FF10F40A")
  18. <meta> <info author="AhMed" type="script" name="login" version="1.0" /> <script src="client.lua" type="client" /> <script src="server.lua" type="server" /> </meta>
  19. ماكس انا في سيرفر مجاني و اف1 شغال لما اطغط اف1 تفتح ويكتب في شات you must admin واف1 يفتح
  20. الوحة صارت ماتسجل او تسوي حساب
  21. والله ياماكس انت فلة ض1 تكون احسن مبرمج انشاء الله
×
×
  • Create New...