AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   sequence not work when stand.. (https://forums.alliedmods.net/showthread.php?t=133400)

AngeIII 07-24-2010 20:15

sequence not work when stand..
 
hello I try to change player sequence when he don't moving:
PHP Code:

entity_set_int(idEV_INT_sequence25)  // 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(PLUGINVERSIONAUTHOR)
    
    
RegisterHam(Ham_Player_Jump"player""pfw_jump"1)
}

public 
pfw_jump(id)
{
    
entity_set_int(idEV_INT_sequence55)  // 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_accessidlvlcid) )
    {
        
entity_set_int(idEV_INT_sequence25// The DuelPistol reload sequence!!!
    
}
    return 
PLUGIN_HANDLED;


this sequence will be work when you shot,jump... but when you stand - no..


All times are GMT -4. The time now is 00:09.

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