Army@1

Members
  • Content Count

    138
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Army@1

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

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

989 profile views
  1. A. Mom. Q.What you think of The Walking Dead Season 7?
  2. Army@1

    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. 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. 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. Superb! Forum is dashing now, love the new features. Cheers MTA Team!
  6. Actually, that is a easter egg but by RockStar Games.
  7. Army@1

    Browsers

    I too use Chrome for about 99% of time and the remaining went to Mozilla and others.
  8. 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))
  9. Haha, good idea. Don't worry, I don't have a server. at least for now
  10. Try Using onClientRender for the latter. addEventHandler ( "onClientRender", root, function() z = getPedCameraRotation(localPlayer) ) setElementRotation(test, 0, 0, 360 - z)
  11. Army@1

    [HELP] Question

    It probably should. What did it output then?
  12. Army@1

    [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)
  13. Army@1

    [HELP] Question

    What sort of numbers?
  14. Army@1

    [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