View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-22-2009 , 14:40   Re: Custom Leave Messages by Jon
Reply With Quote #8

Quote:
Originally Posted by Jon View Post
The first time I ever used vaults was with fvault and I've used it ever since. I could convert to nvault to avoid custom includes, but don't you have to open the vault each time you use save?
Your custom include also open the file each time (+ lot of stuff).
Anyway, you can open the vaut at plugin_init, and close it at plugin_end.

Another improvement you can do is send a MSG_BORADCAST msg instead of loop through all players.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline