AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help me] (https://forums.alliedmods.net/showthread.php?t=182848)

DavidJr 04-14-2012 07:23

[Help me]
 
Code:

/* Plugin generated by AweaMXX-Studio */

#include <amxmodx>
#include <engine>

#define PLUGIN "UnKnown."
#define VERSION "1.0"
#define AUTHOR ""


get_weaponid (weapon_mp5[get_weaponid ],native)

stock set_entity_anim( ent, anim )
{
    if( pev_valid( ent ) )
    {
        entity_set_float( ent, EV_FL_animtime, get_gametime( ) );
        entity_set_float( ent, EV_FL_framerate, 1.0 );
        entity_set_int( ent, EV_INT_sequence, anim );
    }     
}

I'm trying to make a plugin that play a sequence when walk :(


All times are GMT -4. The time now is 07:44.

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