Jump to content

AncienT

Members
  • Posts

    94
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

1,226 profile views

AncienT's Achievements

Punk-@ss B*tch

Punk-@ss B*tch (12/54)

10

Reputation

  1. i made this: --FORMULA: cos(0)=a*b/|a||b| local x1,y1,z1 = 4,-3,5 local x2,y2,z2 = 9,7,-10 local r1 = (x1*x2)+(-3*7)+(5*-10) local a1 = x1^2+(-y1)^2+(z1)^2 local a2 = x2^2+(-y2)^2+(z2)^2 local r2 = math.sqrt(a1)-math.sqrt(a2) local angle = r1/r2 print(angle) I just do not know if it's the correct formula
  2. How can I get the angle between 2 positions?
  3. AncienT

    [SOLVED]

    [SOLVED]
  4. what is the function of <enablesd></enablesd>
  5. VIDEO: Discord: Motar#3255 FB: https://www.facebook.com/jesuslopez324 Reason: I don't have time
  6. AncienT

    [Mute Script]

    addCommandHandler("unmuteall", function(thePlayer, _, ...) if(isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Staff"))) then for ID,player in ipairs(getElementsByType("player")) do if not isPlayerInACL(player, "Staff") then setPlayerMuted (player, false) end end end end) function isPlayerInACL(player, acl) local accountName = getAccountName( getPlayerAccount(player) ) if accountName ~= "guest" and type( aclGetGroup(acl) ) == "userdata" then return isObjectInACLGroup( "user."..accountName, aclGetGroup(acl) ) end return false end
  7. AncienT

    [Mute Script]

    addCommandHandler("muteall", function(thePlayer, _, ...) if(isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Staff"))) then for ID,player in ipairs(getElementsByType("player")) do if not isPlayerInACL(player, "Staff") then setPlayerMuted (player, true) end end end end) function isPlayerInACL(player, acl) local accountName = getAccountName( getPlayerAccount(player) ) if accountName ~= "guest" and type( aclGetGroup(acl) ) == "userdata" then return isObjectInACLGroup( "user."..accountName, aclGetGroup(acl) ) end return false end 
  8. AncienT

    help

    This function is for serverside
  9. AncienT

    Skins Bug

    try this if (getElementData(client,"Clan") >= tonumber(Clan)) and allowed[getElementData(client, "Clan")] then
  10. AncienT

    help

    function onChat ( _, messageType ) if ( messageType == 0 and chat == false ) then cancelEvent ( ) end end addEventHandler ( "onPlayerChat", root, onChat )
  11. https://wiki.multitheftauto.com/wiki/SetElementSpeed
  12. AncienT

    [HD Problem]

    https://community.multitheftauto.com/index.php?p=resources&amp;s=details&amp;id=1600&amp;expanddescr=1
×
×
  • Create New...