Army@1

Members
  • Content count

    138
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Army@1

  • Rank
    Poot-butt
  • Birthday 25/12/97

Details

  • Gang
    noun
  • Location
    India.
  • Occupation
    Time is your life, when time stops then your life stops. You can't go back into past but always to future :D
  • Interests
    Computer and science.

Recent Profile Visitors

466 profile views
  1. A. Mom. Q.What you think of The Walking Dead Season 7?
  2. Help me

    The fade in timer probably doesn't let fade out take place. function player_Wasted ( ammo, attacker, weapon, bodypart ) if ( attacker ) then if ( getElementType ( attacker ) == "player" ) then fadeCamera ( attacker, false, 3.0, 200, 230, 230 ) setTimer ( fadeCameraDelayed, 3000, 1, attacker ) end end end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) function fadeCameraDelayed(player) if (isElement(player)) then fadeCamera(player, true) end end
  3. How to set timer for this function?

    hptimer=false function HP() if(hptimer==false) then setElementData(source, "HP", 100) hptimer=true else outputChatBox("Please wait atleast 15 minutes.", 255, 0, 0) setTimer(function() hptimer=false end, 15*60*1000, 1) end end addEvent("HP", true) addEventHandler("HP", getRootElement(), HP)
  4. [[REQUEST]] AFK movement.

    Players can use it for unfair advantages and server owners may not like it. Ask the owner of the server in which you play.
  5. MTA Forum is back online and with a new look!

    Superb! Forum is dashing now, love the new features. Cheers MTA Team!
  6. Smoking kills - Parody recorded in GTW-RPG

    hahaha, that was funny...
  7. Easter Egg in MTA!

    Actually, that is a easter egg but by RockStar Games.
  8. Browsers

    I too use Chrome for about 99% of time and the remaining went to Mozilla and others.
  9. Rotating object with camera move

    Where did you get this from? setElementRotation(test, 0, 3.2, 96.7 - getPedCameraRotation(localPlayer)) That looks weird to me. Anyway, try this setElementRotation(test, 180 - getPedCameraRotation(localPlayer), 180 - getPedCameraRotation(localPlayer), 180 - getPedCameraRotation(localPlayer))
  10. [HELP] Remove ped collision

    Haha, good idea. Don't worry, I don't have a server. at least for now
  11. Rotating object with camera move

    Try Using onClientRender for the latter. addEventHandler ( "onClientRender", root, function() z = getPedCameraRotation(localPlayer) ) setElementRotation(test, 0, 0, 360 - z)
  12. [HELP] Question

    It probably should. What did it output then?
  13. [HELP] Question

    This will round numbers to 10ths. In other words, 0.1, 25.9, 56.2, etc... sx, sy, sz = getElementVelocity (getPedOccupiedVehicle(localPlayer)) speed = round(((sx^2 + sy^2 + sz^2)^(0.5))*180, 1) Or, if you want just integers sx, sy, sz = getElementVelocity (getPedOccupiedVehicle(localPlayer)) speed = round(((sx^2 + sy^2 + sz^2)^(0.5))*180, 0)
  14. [HELP] Question

    What sort of numbers?
  15. [HELP] Question

    function round(num, idp) local mult = 10^(idp or 0) return math.floor(num * mult + 0.5) end -- example print(round(5.14542123232, 1)) -- result: 5.1