Kors

Members
  • Content count

    58
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Kors

  • Rank
    Snitch
  1. How to set blackscreen in connect

    oh guys, i stop gamemode play, and yes, i have blackscreen, how remove thet function in play? i must start play
  2. How to set blackscreen in connect

    Map cache is download in blackscreen, all other resource i can walk
  3. How to set blackscreen in connect

    I create, .lua and add this code , client side resourceRoot = getResourceRootElement(getThisResource()) function checkTransfer() if isTransferBoxActive() == true then setTimer(checkTransfer,2000,1) -- Check again after 2 seconds else fadeCamera(true) -- TransferBox isnt active, fade in camera end end addEventHandler("onClientResourceStart",resourceRoot,checkTransfer) and i add <download_priority_group /> in resource meta, what wrong? dont work
  4. How to set blackscreen in connect

    I need, Players can not do anything.not move, aim, can only when downloaded all resource i need this
  5. How to set blackscreen in connect

    i must add all resource meta.xml this? <download_priority_group>1</download_priority_group> ,<download_priority_group>2</download_priority_group>, <download_priority_group>3</download_priority_group> yes?
  6. How to set blackscreen in connect

    dont work, i need blackscreen when downloading files, when all is downloaded , then start login panel
  7. How to set blackscreen in connect , when player connect and download files
  8. Такая проблемка, как можно сделать так что бы в сейв зоне машины не взрывались точнее полный год мод на всю технику
  9. How up DX position

    local playerMoney = getPlayerMoney ( localPlayer ) local messages = { } local sx, sy = guiGetScreenSize ( ) addEventHandler ( "onClientRender", root, function ( ) local tick = getTickCount ( ) if ( playerMoney ~= getPlayerMoney ( localPlayer ) ) then local pM = getPlayerMoney ( localPlayer ) if ( pM > playerMoney ) then local diff = pM - playerMoney table.insert ( messages, { diff, true, tick + 5000, 180 } ) else local diff = playerMoney - pM table.insert ( messages, { diff, false, tick + 5000, 180 } ) end playerMoney = pM end if ( #messages > 7 ) then table.remove ( messages, 1 ) end for index, data in ipairs ( messages ) do local v1 = data[1] local v2 = data[2] local v3 = data[3] local v4 = data[4] dxDrawRectangle ( sx - 220, (sy-20)-(index*25), 200, 20, tocolor ( 0, 0, 0, v4 ) ) if ( v2 ) then dxDrawText ( "+ $"..convertNumber ( v1 ), sx - 200, (sy-18)-(index*25), 50, 20, tocolor ( 0, 255, 0, v4+75 ), 1, 'default-bold' ) else dxDrawText ( "- $"..convertNumber ( v1 ), sx - 200, (sy-18)-(index*25), 50, 20, tocolor ( 255, 0, 0, v4+75 ), 1, 'default-bold' ) end if ( tick >= v3 ) then messages[index][4] = v4-2 if ( v4 <= 25 ) then table.remove ( messages, index ) end end end end ) function convertNumber ( number ) local formatted = number while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2') if ( k==0 ) then break end end return formatted end
  10. I dont see players blips on radar when distance is long , when player going border lines radar function onClientResourceStart() local enableBlips = true local blip = 7 local map = Map.getInstance():init() map:setLocationOnScreen(x*30,y*550,x*250,y*150) map:setColor(255,255,255,255) --map:set3DRotation(-40) -- sintax: (float rotationX, float rotationY, float rotationZ,) map:setVisible(true) map.switch = function() map:setVisible(not map:isVisible()) end if(not isKeyBound('F11', 'down', map.switch)) then bindKey('F11', 'down', map.switch) end setPlayerHudComponentVisible("radar",false) end addEventHandler("onClientResourceStart",resourceRoot,onClientResourceStart) function onClientResourceStop() setPlayerHudComponentVisible("radar",true) end addEventHandler("onClientResourceStop",resourceRoot,onClientResourceStop) function isKeyBound(key, keyState, handler) local handlers = getFunctionsBoundToKey(key) for k,v in pairs(handlers or {}) do if(v == handler) then return true end end return false end
  11. Zombie Killmessages

    How change kill message text to bold
  12. Zombie Killmessages

    Started
  13. Zombie Killmessages

    Dont work, zombie_killmessage/message_server.lua:7: exports: Call to non-running server resource (killmessages) [string "?"]
  14. Weapons skill

    I need for all player dual colt, how set skill for all