Jump to content

pocko

Members
  • Posts

    101
  • Joined

  • Last visited

Everything posted by pocko

  1. Ok here one example I want to put on the other side Time passed but i can t
  2. Well my problem is I made a window where to change with original Timeleft.png and on this window write Time left and Time passed.But i can make to show there time passed can someone tell me how to make this to show it there ?
  3. hey i start to make a new emotion and write this !The text is showing but the sound can t please help me again and tell me where i making the problem Client: function GoodbyeEmotion(command) triggerServerEvent( "onbye", getLocalPlayer() ) end addCommandHandler("bb", GoodbyeEmotion) addEvent( "onbye", true ) addEventHandler( "onbye", root, function() local sound = playSound("sound/goodbuy.mp3") end ) Server addEvent( "onbye", true ) addEventHandler( "onbye", root, function() outputChatBox( "* "..getPlayerName(source).." said: Goodbye all", root, 255, 0, 255, true ) end ) function GoodbyeEmotions(player, command) triggerClientEvent("onbye", root) end addCommandHandler("bb", GoodbyeEmotion)
  4. yes i want to move on higher position
  5. hallo can someone tell me what to search in race "resource" to change position color and to move it from there example to be higher than default possition
  6. yes you are right ! it s hard but i made it and now start to re read the script and to find edition ty
  7. yep i trying to start from s_angry.lua .But i want and others to can hear the sound
  8. I close it but not work again :DTHe others can t hear the sound /debugscript 3 and write this error Error: emotions/s_angry.lua attempt to cal global 'playsound' (a nil value)
  9. here my try addEvent( "onAngry", true ) addEventHandler( "onAngry", root, function() local sound = playSound("sound/angry.mp3") end
  10. hey the script work perfect but i found another problem the other can t hear the sound when i start the command.I don t know but i want only admins to can active the sound
  11. yes there was the problem.I corrected it now working ty i was forgot to make one space sounds= playsound I m new and that is my first script ty
  12. i tryed the text working Now left only the sound when i write now debugscript 3 write me this ERROR emotions\angry.lua:2: attempt to call global 'getLocalPlayer' (a nil value) Error emotions\angry.lua:8: stack overflow
  13. Please Help me again i have somewhere mistake function AngryEmotion(player, command) outputChatBox( "* "..getPlayerName(player).." is angry", getRootElement(), 255, 0, 255, true ) end addCommandHandler("angry", AngryEmotion) function angry() local sound = angry("sounds/angry.mp3") end addCommandHandler("angry", angry)
  14. ok ty you alot you realy helped me
  15. can you give me a example. When i write /wtf to start sount
  16. hallo how was the command When write somethink to start sound ?
  17. pocko

    Help me a little

    i m agree with you solid :DI can only correct some thinks but not to make a script
  18. pocko

    Help me a little

    ah damn i had realy big idea
  19. OK my question is can in mta server to open .cs files ? like a missions ?
  20. hmm.. i don t know who is this vick and i don t know why you think like that ?!? I saw the idea from one server and tryed to make script!
  21. i made this what tell me but not work again i don t know why the f....ing gui not open
×
×
  • Create New...