Quote:
Originally Posted by z3rongod
So if cmd_target returns 0 on failure how come it failed when i gave a valid name; executed the command on valid player name?
|
It will also return 0 (fail) if there is more than one player that matches the data that you passed.
Player1: z3rongod
Player2: I am god
"amx_extreme god" should not continue because it doesn't which player to use in the code. So, it's a good thing.
__________________