Quote:
Originally Posted by upuranus
Here is what I get when I try to set a player's damage:
sm_damage "testplayer" "1.3"
L 06/17/2009 - 07:43:46: [SM] Native "GetUserAdmin" reported: Client index 0 is invalid
L 06/17/2009 - 07:43:46: [SM] Displaying call stack trace for plugin "sm_damage MultiMod.smx":
L 06/17/2009 - 07:43:46: [SM] [0] Line 195, /home/groups/alliedmodders/forums/files/5/2/2/3/3/42478.attach::CmdDamage()
Any Ideas?
I have SM 1.3 snapshot, The latest Dukehacks, and I tried your precompiled plugin and also compiled my own from source. I get the same thing no matter which way I do it.
|
I check if the executer is an admin. Therefore the command must be executed ingame, either from chat or console.
If you execute from the console use "sm_damage", not "rcon sm_damage", because server is an invalid admin.
I will fix that in my next version.
__________________