Jump to content

Resto

Members
  • Posts

    155
  • Joined

  • Last visited

Everything posted by Resto

  1. Resto

    [HELP] Warning

    I used if isElement(arg2) and warning is the same.
  2. Resto

    [HELP] Warning

    Try this: -- Check here if arg2 exist then .... local bleeding = getElementData(arg2,"bleeding") or 0 local bandage = getElementData(localPlayer,"Bandage") or 0 if bleeding > 0 and bandage >= 1 then -- put your code here end This? if isElement(arg2) then -- or if getElementType(arg2) == "player" then ??? local bleeding = getElementData(arg2,"bleeding") or 0 local bandage = getElementData(localPlayer,"Bandage") or 0 if bleeding > 0 and bandage >= 1 then -- put your code here end end and localPlayer / getLocalPlayer() is the same or?
  3. Resto

    [HELP] Warning

    Hi, I don't know where is problem.. any can help me? arg2 is element (car, player etc..) Warning: WARNING: Bad argument @ 'getElementData' [Expected element at argument 1, got nil] if (getElementData(arg2,"bleeding") or 0) > 0 and (getElementData(getLocalPlayer(),"Bandage") or 0) >= 1 then
  4. Looking the posts above, the others things are from Russian tutorials, who gave you the right to add them and make a resource and sell them? They are created by me and that someone says they are created according to the Russian tutorials so the question you wrote it is good idiot. 1 - I do not know even where those Russian tutorials 2 - If you do not know the truth so you do not write anything better. 3 - When you write something it is the Russian tutorials that give evidence
  5. If you do not see that I already wrote that dayz not pay so you can be blind .. well the other things I have done so myself .. I do not know what you write for s.h.i.t. And prerment ban should get such people here who can create posts that they have as much.
  6. Update: Added new ScoreBoard for DayZ.
  7. Resto

    DayZ Mod

    it's not the mod but script for duplicate items.
  8. So dayz not but other things are mine.
  9. Really? do you think that I will take something from Russian s.h.i.t tutorials?
  10. Resto

    idk how to fix

    My code work perfect and your code too work but outputChatBox will 5x. But thanks my problem is solved.
  11. Resto

    idk how to fix

    But why, What do you want to achive? Because players what to 0 points can be abused my script and therefore we want to have protection for 1-5. And this should work? local points = tonumber(getElementData(player, "points")) if (points == 1) or (points == 2) or (points == 3) or (points == 4) or (points == 5) then
  12. Resto

    idk how to fix

    Not that I do not want that the code can do what I have just me who points 1-5 others can not
  13. Resto

    idk how to fix

    hi can anyone get me example how i can get number 1 to 5 only? i mean for w = 1,5 do but when i use this my outputchatbox is 5x i need to use here: local points = getElementData(player, "points") if (tostring(points) < "5") then
  14. Resto

    need help

    hi know anyone is here function "i can't move Window" wind = window ______ |wind | |wind | |_____|
  15. Resto

    help skin

    Nope, you have to pass an value inside the brackets (in this case the weapon id). othertable[ getPedWeapon(player) ] thanks work.
  16. Resto

    help skin

    really? a table can be used to any thing, not only for skins. othertable = { [24] = "Eagle", [26] = "sawn" } take a look at this (tables section). and where i must use "othertable" ? othertable[] ?
  17. Resto

    help skin

    but i want to weapons not skins.
  18. Resto

    help skin

    i mean: names = { [31] = "1", [29] = "2", [28] = "3" }
  19. Resto

    help skin

    To use weapons? To get weapons names? or what 2.
×
×
  • Create New...