Jump to content

Kors

Members
  • Posts

    78
  • Joined

  • Last visited

Everything posted by Kors

  1. Kors

    Crosshair

    can i remove stantard crosshair , and set crosshair with script hitmaker
  2. Kors

    Crosshair

    How to fix size crosshair
  3. Kors

    Crosshair

    How to off dynamic crosshair in weapons
  4. addEvent( "onZombieWasted" ); addEventHandler( "onZombieWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 100 ); end ) How to make it randomly reward , not only 100, random 50, 100 , 78 ....
  5. How to create Safe Zone for team, only players with skin 24 can enter to the base and not die, and automatic Gates for thet skin
  6. А кординаты Данной сейфзоны как поставить , скажи если не трудно
  7. Допустим база для клана,создание конкретной зоны в которую если буду заходить простые игроки будут умерать если у них нет допустим скина
  8. Как создать базу с паролем или с защитой скинами
  9. local localPlayer = getLocalPlayer () local theTimer2 = nil local color1 = tocolor( 0, 0, 0, 255 ) local color2 = tocolor( 255, 0, 0, 150 ) local color3 = tocolor( 255, 200, 0, 150 ) local color4 = tocolor( 2, 59, 242, 150 ) local font = dxCreateFont ("myriadproregular.ttf",14) local megjelenit = true rot = 0 unbindKey ( "home" ) setElementData(localPlayer,"hud:main",true,false) function funkcio() setElementHealth(getLocalPlayer(), getElementHealth(getLocalPlayer()) - 1) end function math.round(number, decimals, method) decimals = decimals or 0 local factor = 10 ^ decimals if (method == "ceil" or method == "floor") then return math[method](number * factor) / factor else return tonumber(("%."..decimals.."f"):format(number)) end end function hudStatusz(statusz) megjelenit = statusz end function getHudStatusz() return megjelenit end function hud() local hp = tonumber(getElementHealth(getLocalPlayer())) local armor = tonumber(getPedArmor(getLocalPlayer())) local money = getPlayerMoney(localPlayer) local scx, scy = guiGetScreenSize() local svx, svy = guiGetScreenSize() local x, y = scx-193 - 47, 10 local xx = svx - 200 local xxx = scx + 50 img = dxDrawImage(xx-190, 20, 374, 91, "bg.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText(math.round(hp,0).."%", xxx-360, 47.5, 7, 22.5, tocolor ( 200, 200, 200 ), 0.8, font, "left","top",false,false,true,true) dxDrawText(math.round(armor,0).."%", xxx-140, 47.5, 7, 22.5, tocolor ( 200, 200, 200 ), 0.8, font, "left","top",false,false,true,true) dxDrawText(math.round(money,0).."$", xxx-270, 47.5, 7, 22.5, tocolor ( 200, 200, 200 ), 0.8, font, "left","top",false,false,true,true) end addEventHandler("onClientRender", getRootElement(), hud) function penz_darabolas(amount) local formatted = amount while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1 %2') if (k==0) then break end end return formatted end function onClientRenderR() local theVehicle = getPedOccupiedVehicle ( getLocalPlayer() ) if theVehicle then local vehmodel = getElementModel(theVehicle) if vehmodel == 481 or vehmodel == 509 or vehmodel == 510 then speed = exports.rp_core:getVehicleVelocity(theVehicle) if speed > 40 then toggleControl ( "accelerate", false ) elseif not isControlEnabled("accelerate") then toggleControl ( "accelerate", true ) end end end end addEventHandler("onClientRender", getRootElement(), onClientRenderR) How change position to left , bot to all sreensize
  10. local localPlayer = getLocalPlayer () local theTimer2 = nil local color1 = tocolor( 0, 0, 0, 255 ) local color2 = tocolor( 255, 0, 0, 150 ) local color3 = tocolor( 255, 200, 0, 150 ) local color4 = tocolor( 2, 59, 242, 150 ) local font = dxCreateFont ("myriadproregular.ttf",14) local megjelenit = true rot = 0 unbindKey ( "home" ) setElementData(localPlayer,"hud:main",true,false) function funkcio() setElementHealth(getLocalPlayer(), getElementHealth(getLocalPlayer()) - 1) end function math.round(number, decimals, method) decimals = decimals or 0 local factor = 10 ^ decimals if (method == "ceil" or method == "floor") then return math[method](number * factor) / factor else return tonumber(("%."..decimals.."f"):format(number)) end end function hudStatusz(statusz) megjelenit = statusz end function getHudStatusz() return megjelenit end How to change position to left, bot
  11. Can anyone help me fix this code ? Set position left bot , multi screen
  12. How fix , I need show hp/armor/money on left,bot, screen
  13. Why dont work this resource for other players, only work on my pc local localPlayer = getLocalPlayer () local theTimer2 = nil local color1 = tocolor( 0, 0, 0, 255 ) local color2 = tocolor( 255, 0, 0, 150 ) local color3 = tocolor( 255, 200, 0, 150 ) local color4 = tocolor( 2, 59, 242, 150 ) local font = dxCreateFont ("myriadproregular.ttf",14) local megjelenit = true rot = 0 unbindKey ( "home" ) setElementData(localPlayer,"hud:main",true,false) function funkcio() setElementHealth(getLocalPlayer(), getElementHealth(getLocalPlayer()) - 1) end function math.round(number, decimals, method) decimals = decimals or 0 local factor = 10 ^ decimals if (method == "ceil" or method == "floor") then return math[method](number * factor) / factor else return tonumber(("%."..decimals.."f"):format(number)) end end function hudStatusz(statusz) megjelenit = statusz end function getHudStatusz() return megjelenit end function hud() local hp = tonumber(getElementHealth(getLocalPlayer())) local armor = tonumber(getPedArmor(getLocalPlayer())) local money = getPlayerMoney(localPlayer) local scx, scy = guiGetScreenSize() local svx, svy = guiGetScreenSize() local x, y = scx-193 - 47, 10 local xx = svx - 200 local xxx = scx + 50 img = dxDrawImage(40, 799, 374, 91, "bg.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText(math.round(hp,0).."%", 110, 827, 7, 22.5, tocolor ( 200, 200, 200 ), 0.8, font, "left","top",false,false,true,true) dxDrawText(math.round(armor,0).."%", 330, 827, 7, 22.5, tocolor ( 200, 200, 200 ), 0.8, font, "left","top",false,false,true,true) dxDrawText(math.round(money,0).."$", 217, 827, 7, 22.5, tocolor ( 200, 200, 200 ), 0.8, font, "left","top",false,false,true,true) end addEventHandler("onClientRender", getRootElement(), hud) function penz_darabolas(amount) local formatted = amount while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1 %2') if (k==0) then break end end return formatted end function onClientRenderR() local theVehicle = getPedOccupiedVehicle ( getLocalPlayer() ) if theVehicle then local vehmodel = getElementModel(theVehicle) if vehmodel == 481 or vehmodel == 509 or vehmodel == 510 then speed = exports.rp_core:getVehicleVelocity(theVehicle) if speed > 40 then toggleControl ( "accelerate", false ) elseif not isControlEnabled("accelerate") then toggleControl ( "accelerate", true ) end end end end addEventHandler("onClientRender", getRootElement(), onClientRenderR) My gta, others
  14. К сожалению не знаю, статьи есть? Или киньте видео-урока или наподобие. Допустим скачал любой логин панель и вот мне надо поставить выбор пола и что бы с выбором пола автоматом выдавало подходящий скин.
  15. I need when players connect to the server, that they could choose a gender male or female and to automatically set on player female or male skin
  16. Как добавить в панель регистрации функцию выбора пола и что бы автоматически выдавалось для женского пола , женский скин и для мужского , мужской
  17. Kors

    Private base

    can u say thet code
  18. Kors

    Private base

    only players who in team, can enter to base with skin, yea?
  19. Kors

    Private base

    How to create private base for clan, and entry to clan can only with team skin or password
  20. А как самому сделать?
  21. Как сделать так же что бы показывало , Ник, бронь и хп?
  22. Kors

    Health & Armor

    I just need Nick name, Healthbar, armor , how set thet to server
  23. Kors

    Health & Armor

    i find this, and thet dont work https://community.multitheftauto.com/index.php?p=resources&s=details&id=734 I just need to have also had
  24. Kors

    Health & Armor

    Where i can find this resource ?
×
×
  • Create New...