Jump to content

1LoL1

Members
  • Posts

    944
  • Joined

  • Last visited

Everything posted by 1LoL1

  1. 1LoL1

    [HELP] Last Help

    What? where i this must use?
  2. 1LoL1

    [HELP] Last Help

    My hex: FFFF00 And i see Name: #FFFF00test And i want: test
  3. 1LoL1

    [HELP] Last Help

    i restarted resource..
  4. 1LoL1

    [HELP] Last Help

    Not work i see hex
  5. 1LoL1

    [HELP] Last Help

    statsLabel = {} statsWindows = guiCreateStaticImage(0.775,0.2,0.225,0.22,"images/scrollmenu_1.png",true) --statsWindows = guiCreateWindow(0.775,0.2,0.225,0.22,"DEBUG MONITOR",true) guiSetAlpha(statsWindows,0.-- s8) --> --Zombies Killed statsLabel["zombieskilled"] = guiCreateLabel(0,0.05,1,0.15,"Zombies killed: 0",true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["zombieskilled"],"center") guiSetFont (statsLabel["zombieskilled"], "default-bold-small" ) setElementData(statsLabel["zombieskilled"],"identifikation","zombieskilled") --Headshots statsLabel["headshots"] = guiCreateLabel(0,0.15,1,0.15,"Headshots: 0",true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["headshots"],"center") guiSetFont (statsLabel["headshots"], "default-bold-small" ) setElementData(statsLabel["headshots"],"identifikation","headshots") --Murders statsLabel["murders"] = guiCreateLabel(0,0.25,1,0.15,"Murders: 0",true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["murders"],"center") guiSetFont (statsLabel["murders"], "default-bold-small" ) setElementData(statsLabel["murders"],"identifikation","murders") --Bandits Killed statsLabel["banditskilled"] = guiCreateLabel(0,0.35,1,0.15,"Bandits killed: 0",true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["banditskilled"],"center") guiSetFont (statsLabel["banditskilled"], "default-bold-small" ) setElementData(statsLabel["banditskilled"],"identifikation","banditskilled") --Blood statsLabel["blood"] = guiCreateLabel(0,0.45,1,0.15,"Blood: 12000",true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["blood"],"center") guiSetFont (statsLabel["blood"], "default-bold-small" ) setElementData(statsLabel["blood"],"identifikation","blood") --Zombies statsLabel["zombies"] = guiCreateLabel(0,0.55,1,0.15,"Zombies (Alive/Total): 0/0",true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["zombies"],"center") guiSetFont (statsLabel["zombies"], "default-bold-small" ) setElementData(statsLabel["zombies"],"identifikation","zombies") --Temperature statsLabel["temperature"] = guiCreateLabel(0,0.65,1,0.15,"Temperature: 37°C",true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["temperature"],"center") guiSetFont (statsLabel["temperature"], "default-bold-small" ) setElementData(statsLabel["temperature"],"identifikation","temperature") --Humanity statsLabel["humanity"] = guiCreateLabel(0,0.75,1,0.15,"Humanity: 2500",true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["humanity"],"center") guiSetFont (statsLabel["humanity"], "default-bold-small" ) setElementData(statsLabel["humanity"],"identifikation","humanity") --Name statsLabel["name"] = guiCreateLabel(0,0.85,1,0.15,"Name: "..getPlayerName(getLocalPlayer())), true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["name"],"center") guiSetFont (statsLabel["name"], "default-bold-small" ) setElementData(statsLabel["name"],"identifikation","name") function showDebugMonitor () local visible = guiGetVisible(statsWindows) guiSetVisible(statsWindows,not visible) end bindKey("F5","down",showDebugMonitor) function refreshDebugMonitor() if getElementData(getLocalPlayer(),"logedin") then local value = getElementData(getLocalPlayer(),getElementData(statsLabel["zombieskilled"],"identifikation")) guiSetText(statsLabel["zombieskilled"],"Zombies killed: "..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["headshots"],"identifikation")) guiSetText(statsLabel["headshots"],"Headshots: "..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["banditskilled"],"identifikation")) guiSetText(statsLabel["banditskilled"],"Bandits killed: "..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["murders"],"identifikation")) guiSetText(statsLabel["murders"],"Murders: "..value) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["blood"],"identifikation")) guiSetText(statsLabel["blood"],"Blood: "..value) local value = getElementData(getRootElement(),"zombiesalive") or 0 local value2 = getElementData(getRootElement(),"zombiestotal") or 0 guiSetText(statsLabel["zombies"],"Zombies (Alive/Total): "..value.."/"..value2) local value = getElementData(getLocalPlayer(),getElementData(statsLabel["temperature"],"identifikation")) guiSetText(statsLabel["temperature"],"Temperature: "..math.round(value,2).."°C") local value = getElementData(getLocalPlayer(),getElementData(statsLabel["humanity"],"identifikation")) guiSetText(statsLabel["humanity"],"Humanity: "..math.round(value,2)) guiSetText(statsLabel["name"],"Name: "..getPlayerName(getLocalPlayer())):gsub("#%x%x%x%x%x%x", "") end end
  6. 1LoL1

    [HELP] Last Help

    Not work ERROR: DayZ\survivorSystem-client.lua:520: attempt to index a boolean value
  7. Hello, how i can delete color hex? please anyone help me. statsLabel["name"] = guiCreateLabel(0,0.85,1,0.15,"Name: "..getPlayerName(getLocalPlayer()), true,statsWindows) guiLabelSetHorizontalAlign (statsLabel["name"],"center") guiSetFont (statsLabel["name"], "default-bold-small" ) setElementData(statsLabel["name"],"identifikation","name") and guiSetText(statsLabel["name"],"Name: "..getPlayerName(getLocalPlayer())) i used this: :gsub("#%x%x%x%x%x%x","") and sting.gsub but i dont know how to use.
  8. //EDIT: Sorry i am idiot.. i fixed.
  9. Hello, can you help me anyone? I want when i dead, login, register give this items.
  10. Where this i must used? Can you please used in this post? only where is animations
  11. For example, when I eat something and start the animation and then stops but now it is that animates and it does not stop vobec still is on If you want stop the animation you should use: setPedAnimation(source, false) as says GTX Yes, i want stop but on interval 5 sec.
  12. For example, when I eat something and start the animation and then stops but now it is that animates and it does not stop vobec still is on
  13. Hell, where i can fix this error? When i take items with "-" this say. TesT = My name. ERROR: Client (TesT) triggered serverside event :~, but event is not added serverside And please how to stop animation? my code is here :
  14. 1LoL1

    Please help

    ok thx i fixed
  15. 1LoL1

    Please help

    How i can this fix? ERROR1: ERROR: Loading script failed: DayZ\inventory.lua:673: "end" expected (to close "if" at line 664) near "else" ERROR2: ERROR: Loading script failed: DayZ\survivorSystem_client.lua:339: ")" expected near ":" DayZ\inventory:
  16. He want this: when a player spawn in class Heavy then he will get Armor.
  17. 1LoL1

    Not Work

    Not work and i dont have Gamemodes.. i have only setgamemode.
  18. 1LoL1

    Not Work

    Not work and 0 errors.
  19. 1LoL1

    Not Work

    Error: ERROR: Loading script failed: test/test.lua:8: unexpected symbol near ")"
  20. 1LoL1

    Not Work

    Why this not work? rootElement = getRootElement() function onPlayerSpawnHandler () if(accountName) then if(isObjectInACLGroup("user."..accountName, aclGetGroup("VIP"))) then setPedArmor( source, 100 ) end addEventHandler( "onPlayerSpawn", rootElement, onPlayerSpawnHandler )
×
×
  • Create New...