register_event("Death10","Dsuprise","b") Are you trying to catch the death event?
Quote:
public Dsuprise(id) {
if ((deaths[id] == 10)&(kills[id] < 10)) {
set_user_maxspeed(id,speed);
client_print(id,print_chat,"[AMXX]you have superspeed for one round");
}
}
|
let me understand this what your plugin is suppose to do.
So when they have a death it suppose to trigger dsuprise? and if they have deaths equal to 10 and kills is less than 10, they get super speed for one round?
Also you don't need return PLUGIN_CONTINUE in public plugin_init()
__________________