Raised This Month: $ Target: $400
 0% 

Anim not play


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 05-16-2012 , 11:27   Anim not play
Reply With Quote #1

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike>
#include <engine>
#include <fakemeta>


#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init()
{
    
register_plugin("Anim","1.0","SubFive")
    
register_think("PreThink""entity_set_int")
}
public 
client_PreThink(id)
{
    
entity_set_int(id,EV_INT_button,IN_RUN);
}
public 
anim(id)
{
    if(
user_has_weapon(idCSW_MP5NAVY))
    {
        
engclient_cmd(id"weapon_mp5")
        
set_animation(id7)
    }
}
public 
set_animationidseq 
{
    
entity_set_int(idEV_INT_weaponanimseq);
    
message_begin(MSG_ONESVC_WEAPONANIM, {0,0,0}, id);
    
write_byte(seq);
    
write_byte(entity_get_int(idEV_INT_body));
    
message_end();

Why the animation doesn't play?
Randomize is offline
Old 05-17-2012, 07:13
Randomize
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Reply


Thread Tools
Display Modes

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 00:22.


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