Removing vault data with nVault
Is this how I would do it?
Code:
I'm trying to remove a SteamID from a vault file by command and doesn't want to work: Code:
|
I think thats about the only way.
|
Is everything correct there?
|
Oops, I forgot to use get_players. Anywho ... Is there anything wrong with that code?
|
There 3 ways I can think to do what you are wanting to do.
1. If you can get nvault_delete function added 2. Log the person steam ID with const value of gaben and then check that value to set their global. When you want to remove them, set the value to something else. This will add more overhead though. 3. Read the timestamp for a certain entry and prune with that as your window. There is still a slight chance you could remove someone you didn't want to that was gabened at the exact same time. This may be the best option for actually removing the entry from the vault. Code:
It's not all of the code, but the idea is there and nice and bunched up for you :wink: |
I thought of doing #2 already. I guess I'll go with that. Thanks.
|
| All times are GMT -4. The time now is 05:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.