Can anyone tell where can I find all of events?
resgister_event("EVENT", " ..................)
============================================= ===========
Ive got NATIVE CSDM_RESPAWN error... HOW to fix it?? in HLDS window
L 12/24/2006 - 01:20:13: [CSDM] Player 0 is not valid
L 12/24/2006 - 01:20:13: [AMXX] Displaying debug trace (plugin "training_cs.amxx")
L 12/24/2006 - 01:20:13: [AMXX] Run time error 10: native error (native "csdm_respawn")
L 12/24/2006 - 01:20:13: [AMXX] [0] training_cs.sma::respawn (line 22)
code:
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <csdm>
#include <cstrike>
#define PLUGIN "Trainig"
#define VERSION "1.0"
#define AUTHOR "S!lent"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg", "respawn", "a")
}
public respawn(id, player)
{
if (!is_user_alive(id))
{
csdm_respawn(player)
cs_set_user_money(id, 10000)
}
return PLUGIN_CONTINUE
}