hello I try to change player sequence when he don't moving:
PHP Code:
entity_set_int(id, EV_INT_sequence, 25) // The DuelPistol Reload sequence!!!
but not working..
then I downloaded a the Matrix Jump plugin
PHP Code:
#include <amxmodx>
#include <engine>
#include <hamsandwich>
#define PLUGIN "Matrix Jump"
#define AUTHOR "OT"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Player_Jump, "player", "pfw_jump", 1)
}
public pfw_jump(id)
{
entity_set_int(id, EV_INT_sequence, 55) // The MATRIX sequence!!!
}
work fine, but when I try to change player sequence when he standing -> nothing hapenned.. how to fix it?
example code:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
public plugin_init()
{
register_plugin("lalal..", "1.0", "-=ThQ=-")
register_clcmd( "xxxa","xspider");
}
public xspider(id,lvl,cid)
{
if( cmd_access( id, lvl, cid, 1 ) )
{
entity_set_int(id, EV_INT_sequence, 25) // The DuelPistol reload sequence!!!
}
return PLUGIN_HANDLED;
}
this sequence will be work when you shot,jump... but when you stand - no..