Jump to content

Karoleq2

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Karoleq2

  1. Karoleq2

    a script

    Hello, i made a script that plays winning.mp3 and shows a message in chat after a player killed another player but i dont know if this will work - will this work ? function wasted (killer, weapon, bodypart) local killer = attacker() local sound = playSound("sounds/winning.mp3") local message = outputChatBox ( #006600• #ffffff"..getPlayerName ( attacker ).." #006600is dangerous!" ) setSoundVolume(sound, 0.5) end addEventHandler("onClientPlayerWasted", localPlayer, wasted)
  2. Thanks for help!
  3. Hi, it's me again. My problem is about that, that im wondering what is the function that makes something happen after that player clicks a chk from freeroam panel, like im trying to make something in freeroam and here's the chk: {'chk', id='Disable warping'}, and now, i dont know how to say that but how am i supposed to make some event happen after clicking it .. ? function disableWarping () ( blablabla.... ) addEventHandler ( "onPlayerClick {'chk', id="Disable warping'} ", disableWarping ) should it be in addEventHandler or what ? dont have any freaking idea ...
  4. idarrr it works, player cannot shoot when he is not aiming but, he still cannot shoot when he is aiming. btw i made new account yes.
×
×
  • Create New...