Command question
It's possible to check admin menu uses of not connected players with console command ?
|
Re: Command question
I suppose you could grab their admin privileges from users.ini
|
Re: Command question
Quote:
|
Re: Command question
Quote:
|
Re: Command question
Quote:
(Console command) zp_check_uses <nick> And my question: It's possible that I can check with this command admin menu uses if they're not connected. |
Re: Command question
You're going to have to populate a database with nicks, steamIDs, and access privlages. But because people can change their nick, you're kinda screwed there. But if you can then devise a way to relate the nick to a steamID, you can then query users.ini for the information you're looking for. But the biggest hurdle you'll have to get over is relating a nick of an un-connected user with their steamID. Its going to be difficult, i'd say. But i'm not in any right the smartest one here....just stating what i think.
|
Re: Command question
1. You only need to use SteamIDs. Or, use SteamIDs with my name addon feature (I can't remember where that is).
2. Then, as Liverwiz stated, you would need a place to store SteamIDs and how many times they have used the command. This concept is actually quite simple though you would need to edit the plugin which handles the command for which you want tracking. |
Re: Command question
I edited the main zombie plague plugin and I added a client command named /uses. With this command you can check admin menu uses. And I added console command for admins with rcon access flag. And my question was, It's possible that the console command can check also uses of non-connected players. If yes, show me how :)
|
Re: Command question
Quote:
|
Re: Command question
So you have all of this stuff working with the in-game admins? (the counting uses and such?)
If yes, then all you need to do is read a tutorial (probably nvault) and you need to store the SteamID of the player along with the number of times the menu was used (usually when they disconnect you would update this in the vault). It's quite simple. Read the nvault tutorial and see if it gets you anywhere (you should be able to do the whole thing). |
| All times are GMT -4. The time now is 15:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.