Jump to content

iMr.3a[Z]eF

Members
  • Posts

    862
  • Joined

  • Last visited

Everything posted by iMr.3a[Z]eF

  1. So, try to remove the fire by world objects remover.
  2. Yes, attachElements(radio, menopeli34) will work, because menopeli34 is the object name.
  3. Answer the Hunterix question.
  4. Oh this is a map, you can't remove it.
  5. Can you post the picture of the fire?
  6. Did you tried destroyElement?
  7. I really don't understand you
  8. iMr.3a[Z]eF

    FIXED

    Explain me the problem.
  9. Where is shown :admin/client/images/flags:, and can you take a picture about it?
  10. You can't set projectile speed i guess.
  11. If you don't want to stop the sound so remove the function and the command.
  12. Yes, and if you wanna learn LUA scripting language enter to here "pressMe", and the blip function is here createBlip
  13. your code will not working this is the reason local posX = tonumber(posX) local posX = tonumber(posY) local posZ = tonumber(posZ)
  14. Maybe because the resource haven't put in Admin group, go to ACL then Admin then write "resource.resourceName". ResourceName = the scoreboard resource name.
  15. Why triggering? function startscript( ) menopeli34 = createObject(5837, 0, 0, 100, 0, 0, 0) end addEventHandler ( "onClientResourceStart", getRootElement(), startscript) function menomusa (menopeli34, radio) if menopeli34 and radio then local x,y,z = getElementPosition ( menopeli34 ) radio = playSound3D( "https://dl.dropboxusercontent.com/s/9z9n7oez2d55xif/amispoppia_-_waves-hZ35j1c6BJw_fmt34.mp3", x, y, z, true) attachElements ( radio, menopeli34 ) setSoundMaxDistance( radio, 200 ) outputChatBox ( "music is on!", source, 255, 0, 0, true ) else outputChatBox ( "cant find the menopeli and radio", getRootElement(), 255, 0, 0, true ) end end addCommandHandler ( "startTheMusic", menomusa ) function stopSound( ) stopSound(radio) end addCommandHandler ( "stopTheMusic", stopSound )
  16. SolidSnake14: But why localPlayer in two arguments in the function createProjectile?
  17. Smart idea, but he said he want to move the player to the ped.
  18. What event are you talking about? You're using command handler.
  19. Sorry forget something Is the ped far away from the player?. And the correct function i was mean is: local x,y,z = getElementPosition (player) setTimer(setElementPosition (player,x,y,z-2), 1000, 0) This function is move the player next to him every second. Or use setPedWalkingStyle.
  20. Where is the 2nd argument of the function createBlipAttachedTo.
×
×
  • Create New...