Raised This Month: $ Target: $400
 0% 

CSDM error and EVENTS


Post New Thread Reply   
 
Thread Tools Display Modes
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
Troi
Member
Join Date: Aug 2006
Old 12-23-2006 , 20:14   Re: CSDM error and EVENTS
Reply With Quote #2

Well write everyone .. who knows I know:

"DeathMsg" - event when player dies..
Troi is offline
The Specialist
BANNED
Join Date: Nov 2006
Old 12-23-2006 , 20:33   Re: CSDM error and EVENTS
Reply With Quote #3

search
The Specialist is offline
Send a message via AIM to The Specialist
Troi
Member
Join Date: Aug 2006
Old 12-23-2006 , 20:59   Re: CSDM error and EVENTS
Reply With Quote #4

Where I sould search? ....... What about an error?
Troi is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 12-23-2006 , 23:33   Re: CSDM error and EVENTS
Reply With Quote #5

if you use module csdm, it atuomaticlly respawns a dead player, you don't need to do any respawn thing. if you want to set the money when respawn, just use this:

public csdm_PostSpawn(player, bool:fake)
{
cs_set_user_money(player, 10000)
return PLUGIN_CONTINUE
}
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
Troi
Member
Join Date: Aug 2006
Old 12-24-2006 , 05:45   Re: CSDM error and EVENTS
Reply With Quote #6

No no..... I need only respawn... ONLY that.. No menus no weapons.... And normal CSDM is not working with bots for me... So I want that, when you die, automaticlly spawn again, buy weapons and go....
Troi is offline
Reply



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