View Single Post
kww
Senior Member
Join Date: Feb 2021
Location: Russia
Old 07-02-2021 , 15:51   Re: Cmds taking wrong executor's id
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Who is starting the game when this happens?
Me

Quote:
Originally Posted by fysiks View Post
The second argument of the callback for register_clcmd() and register_concmd() is the admin flags requested by the command (the value set in cmdaccess.ini; defaults to the value you provided in the register_*cmd() command). For example, see here.

I suspect that that is messing things up.
hmm... even if it is, how can it break other commands? btw usually it's working as i expected and very rare this error appears and i must restart the game to fix it ("restart" command isn't helping me)

how i using 2nd argument and idk why it is working then


whole code if you're disappointed

Last edited by kww; 07-02-2021 at 16:09.
kww is offline