Fvault code
What does this code do.
And when can you use it? i didnt found anything about it Code:
// Pruning player agree/decline after 15 days of not being updated |
Re: Fvault code
It checks the time stamp of all player_agree entries, and removes them after 15 days. You can use it whenever you want, buy it'll only have the effect if this plugin has been running for more than 15 days.
It could be used in the case that you want players to regularly read and accept the rules, shall they be updated. Or, perhaps if you change the time stamp by touching the entry it could be used to make players read and accept if they haven't p[layed in 15 days. Im not 100% sure since I've never actually used FVault. |
Re: Fvault code
Quote:
Okay but what is the best way to do it? in Vault or nVault or fVault or SQL? |
Re: Fvault code
You never said what your doing.
|
Re: Fvault code
Quote:
When a user joins the server and write /hello a command are executed and then he needs to wait 24 hours before he can write can write /hello again |
Re: Fvault code
I suggest you using mysql.
|
Re: Fvault code
I Solved it
i did it with fVault becuse that was easier :) Edit: here is the code if anyone needs it Code:
/* |
Re: Fvault code
plugin_init is called once a map. You don't need this bool -> bAlreadyExecuted
You can use fvault_get_data instead of fvault_get_keynum This, PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 10:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.