If we want to update an admin that we have already added, use the css_updateadmin command to do so.
Example, we added the admin crashzk.
css_addadmin "crashzk" "STEAM_0:1" "50" "abcdemnoz" "850"
However, I would like to edit his permissions, immunity or even time. One by one or all at once.
css_updateadmin "STEAM_0:1" "99" "abcdefghijklmnoz" "0"
Note: I believe that the username should be something that the plugin automatically detects and updates whenever the player changes their nickname in the game. In other words, use it as if it were his nickname.
First time we put one, but whenever the player connects to the server it checks its steamid, if the nickname is different in the database, it updates it to the new nickname.
If we want to update an admin that we have already added, use the
css_updateadmincommand to do so.Example, we added the admin crashzk.
css_addadmin "crashzk" "STEAM_0:1" "50" "abcdemnoz" "850"However, I would like to edit his permissions, immunity or even time. One by one or all at once.
css_updateadmin "STEAM_0:1" "99" "abcdefghijklmnoz" "0"Note: I believe that the
usernameshould be something that the plugin automatically detects and updates whenever the player changes their nickname in the game. In other words, use it as if it were his nickname.First time we put one, but whenever the player connects to the server it checks its steamid, if the nickname is different in the database, it updates it to the new nickname.