Jump to content

H!tman

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by H!tman

  1. H!tman

    search light

    how to create search light like in area 69? like this in the image: and by the way what is the benefit from the fps limiter in the MTA server? can it make the connection to the server better(no ping lag and more players)?
  2. it works but if i was in same x and y except z (if my z position was 100 or -100) the function works too that's the problem like myonlake said.
  3. so is there any solution? don't tell me to use collision shape functions
  4. i did like you but same problem
  5. marker = createMarker(0, 0, -10, "cylinder", 1, 255, 0, 0, 255) function markerHit() outputChatBox("hit") end addEventHandler("onClientMarkerHit", getRootElement(), markerHit) when i go to this position: x= 0 , y= 0 , z= 3 the event happen at same position except Z position. is this MTA bug or the marked like that?
  6. i have format factory but it doesn't support these formats: RIFF MOD XM IT S3M so i want a programme that convert sounds to these formats: RIFF MOD XM IT S3M if the playSound function support another formats (i saw in the wiki) please tell me. please help!
  7. H!tman

    is this MTA bug?

    i was playing in death match server and sometimes when i damage from UZI or M4 i lose 40 (from one shot only and from any weapon) also this happens to other players too and i think this happens when u shoot at the legs as i know because when i entered in a house someone was aiming at my legs and killed me in few shots from M4 (i had full health & armor), is this bug from MTA or server? is there any solution?
  8. H!tman

    Maths

    oh i find it lol thanks
  9. H!tman

    Maths

    and where should i write it and how? i do like this before: math.deg(math.sin(90)) = 51.222236633301 math.sin(math.deg(90)) = -0.95407978866971 how?
  10. H!tman

    Maths

    is there a way to use sin on degrees not radians ? like: sin(90) = 1 sin(0) = 0 sin(30) = 0.5 cos(90) = 0 cos(0) = 1 cos(30) = 0.8660254037844386467637231707529361834714 and so on...
  11. H!tman

    freelook

    i have done this before and i do it again and i failed please just give me the code don't be stingy at least send it as a message to me.
  12. H!tman

    freelook

    i made a script that will setCameraMatrix at a place when the player wasted but i want the player can look around by mouse, how to make him look by mouse?
×
×
  • Create New...