well i am triyng to replace sensubean with my own kaioken.
here part of my code:
Code:
public plugin_init() {
...
register_clcmd("slot9","kaiokenm")
...
}
public kaiokenm(id){
if( entity_get_int(id, EV_INT_playerclass) == 2 ){
g_Kaioken[id] = 1
}
}
public client_PostThink(id){
if(g_Kaioken[id] !=0){
if(get_user_button(id) & IN_ATTACK){
set_task(0.0,"kaioken_charge",id)
}
}
}
this way don't work, please help me
thankx
--blondu