API_DOCS: BZDB variable resets

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

API_DOCS: BZDB variable resets

Post by JeffM » Fri Feb 09, 2007 1:55 am

I have added 2 commands to let plug-ins reset bzdb variables

Code: Select all

BZF_API void bz_resetBZDBVar( const char* variable );
Resets a single bzdb variable;

Code: Select all

BZF_API void bz_resetALLBZDBVars( void );
Resets all bzdb variables.

User avatar
optic delusion
Special Forces
Special Forces
Posts: 991
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Tue Feb 13, 2007 4:53 pm

Ooh, didn't notice this for a few days... Happy birthday to me, Happy Birthday to me...
Now every single thing we use cron for is a plugin API, we can abandon cron.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

Post Reply