Sign in to follow this  
#[B]lack

SetPedAnimation Parar Automaticamente Após Um Tempo

Recommended Posts

Estou Fazendo Um Assalto A Loja e Quero Que Após o Player ter Subido No Marker com Animação Ela Pare Sozinha Após Um Tempo.Please Help-me

Obs:Iniciando Com Script.

Eu Uso No Momento:

setPedAnimation(localplayer, "POLICE", "Door_Kick", -1, false, true, false)

Share this post


Link to post

From what i understood you want to stop the animation after a while, if i'm correct you can use a timer:

setTimer ( 
    function () 
        setPedAnimation ( localPlayer, false ) 
    end 
, 3 * 1000, 1 ) -- 3 = seconds to stop the animation 

Btw this is the English section, you should go to the Portuguese section to write in Portuguese.

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.