Jump to content

BriGhtx3

Members
  • Posts

    378
  • Joined

  • Last visited

Details

  • Gang
    Destiny

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

BriGhtx3's Achievements

Street Cat

Street Cat (24/54)

0

Reputation

  1. I wanted to try it like this, but isn't there an easier method?
  2. Just like I said, I use a database.
  3. I know how to use setTimer, but I want to count the time even if the player is not online. When the player leaves, the timer cancels.
  4. Hey, I want to set a limit for a command. You should only can use this command once in 6h. I use a database and not accountData. How can I set a 6h limit in REALLIFE-Time not ingame time. So for example when he uses this command at 4pm the limit should be until 10pm. Also if he is not online.
  5. I already got it. I set the data in another function -.- But thank you very much
  6. I can't test it right now The condition is that I get shot twice in the leg and thus it gets broken.
  7. Of course its not my full code. This is in my onPlayerDamage event.
  8. Hey, when someone shoots at me I want that only after the second bullet which hits me I get a message (in onPlayerDamage): if weapon then if getElementData(player, "shot1") == false then setElementData(player, "shot1", true) return end end if getElementData(player, "shot1") then setElementData(player, "shot1", false) end if place == 7 then outputChatBox("You broke your left leg", player) end The problem is that the message gets output after the first time I get shot.
  9. Works now I set delay to 100. Thank you
  10. I already posted my code. And Im not that dump to make mistakes in the meta. As you see the player already gets crouched but he stands up immediately.
  11. Hey, always when I set the control state to crouched then the player crouches for a second and immediately stands up again. I want the player to always walk crouched and disable sprinting and walking when he is standing: toggleControl("jump",false) toggleControl("sprint",false) toggleControl("walk",false) setControlState("crouch",true) Why doesn't this work? It is in a function and clientside
  12. I already got it In my script it was so difficult, because there were 3 numbers and 3 randoms. And I had to check if one of the randoms contains one of my numbers.
×
×
  • Create New...