Raised This Month: $ Target: $400
 0% 

How to set animation for player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 07-09-2012 , 05:33   How to set animation for player
Reply With Quote #1

I have this code. But when i set this, the anim play for 1.0 second then reset to idle anim... How to set long anim for player ?

PHP Code:
public set_player_anim(entanim)
{
    if(!
pev_valid(ent))
        return
    
    
set_pev(entpev_sequenceanim)
    
set_pev(entpev_frame0.0)
    
set_pev(entpev_framerate1.0)

dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode