Jump to content

Me Ajuda Por Favor


Recommended Posts

:?::!: ola tive pesquisando um comando de dar /algemar e algemar a pessoa gostaria da ajuda de vocês não entendo muito disso oque tenho que fazer com esse arquivo e se tiver erro quem puder me ajudar agradeço.

addCommandHandler ( "handcuff", 
    function ( thePlayer, _, who ) 
      if isObjectInACLGroup ( "user.".. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "Police" ) ) then 
        local target = getPlayerFromName ( who ) -- Get the player from it's name 
        if ( target ) then -- If the player exists 
            setPedAnimation ( target, "SHOP", "SHP_Rob_Handsup", -1, true, false, false ) -- Set his/her animation 
            setElementFrozen ( target, true ) -- Free him/her 
            outputChatBox ( "Player ".. getPlayerName ( target ) .." was handcuffed by ".. getPlayerName ( thePlayer ) ..".", root, 255, 241, 0 ) -- Output a global message 
        end 
    end 
 end 
) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...