Quote:
|
Originally Posted by v3x
Why not just use cmd_target?
|
|
|
|
\/
Quote:
|
Originally Posted by Hawk552
In the below code, how would I match the person's name with their id, if no client called the command? It says in cmd_target that someone has to have called it.
|
Edit: Ok it's reading the data properly, it says "[AMXX] data is Hawk" and all, but doesn't respawn the person. I made a stupid mistake and compiled a version that had this:
Code:
register_event("TextMsg","","a","1=1","2&Game_join_te","2&Game_join_ct")
Instead of
Code:
register_event("TextMsg","join_respawn","a","1=1","2&Game_join_te","2&Game_join_ct")
Edit again:
Now it's giving me this:
Code:
L 08/31/2005 - 08:29:56: [AMXX] [FUN] Invalid player 0 (not in-game)
L 08/31/2005 - 08:29:56: [AMXX] Debug is not enabled (plugin "cstrike\addons\amxmodx\plugins\surftools.amxx")
L 08/31/2005 - 08:29:57: [AMXX] [FUN] Invalid player 0 (not in-game)
L 08/31/2005 - 08:29:57: [AMXX] Debug is not enabled (plugin "cstrike\addons\amxmodx\plugins\surftools.amxx")
L 08/31/2005 - 08:29:57: [AMXX] [FUN] Player out of range (0)
L 08/31/2005 - 08:29:57: [AMXX] Debug is not enabled (plugin "cstrike\addons\amxmodx\plugins\surftools.amxx")
But no errors when in debug. It seems the id checker part isn't working properly either.
__________________