Raised This Month: $ Target: $400
 0% 

CSDM error and EVENTS


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Troi
Member
Join Date: Aug 2006
Old 12-23-2006 , 19:05   CSDM error and EVENTS
Reply With Quote #1

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(PLUGINVERSIONAUTHOR)
 
register_event("DeathMsg""respawn""a")
}
public 
respawn(idplayer)
{
 if (!
is_user_alive(id))
 {
  
csdm_respawn(player)
  
cs_set_user_money(id10000)
 }
 
 return 
PLUGIN_CONTINUE


Last edited by Troi; 12-23-2006 at 19:17.
Troi is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:26.


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