Raised This Month: $ Target: $400
 0% 

Save bool with map changing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-31-2011 , 21:18   Re: Save bool with map changing
Reply With Quote #1

CSW_P90 = 30 so you can store bool values in a single variable via a bit field which makes saving easy. Look here.

Also, why do you not want to use nvault?
__________________
Bugsy is offline
eXtrem
Member
Join Date: Jul 2011
Old 07-31-2011 , 22:07   Re: Save bool with map changing
Reply With Quote #2

Quote:
Originally Posted by Bugsy View Post
Also, why do you not want to use nvault?
Because I don't want to use nvault for just a boolean.

Thank you very much.
eXtrem is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-31-2011 , 22:43   Re: Save bool with map changing
Reply With Quote #3

Also realize that local info is lost when you shutdown the server so it should only be used if you only need the info between mapchanges.
__________________
fysiks is offline
eXtrem
Member
Join Date: Jul 2011
Old 08-01-2011 , 10:04   Re: Save bool with map changing
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
Also realize that local info is lost when you shutdown the server so it should only be used if you only need the info between mapchanges.
I know, I know.
eXtrem is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode