Raised This Month: $ Target: $400
 0% 

Empty bool?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Buckshot
Senior Member
Join Date: Mar 2014
Location: Sweden
Old 03-15-2014 , 10:43   Empty bool?
Reply With Quote #1

So, let's say i have this bool "Iamabool[32]" And every single one of the 32 are true. How do i set ALL of them to false without having to set each to false one by one? I'd like to know how to do the same with arrays etc. Empty them and set it to zero. Thanks!


edit: I've heard something called EOS is supposed to do this, but i don't know how to use it..

Last edited by Buckshot; 03-15-2014 at 10:46.
Buckshot is offline
Send a message via Skype™ to Buckshot
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 03-15-2014 , 10:47   Re: Empty bool?
Reply With Quote #2

arrayset( variable, value_to_set, variable_size );
__________________
micapat is offline
Buckshot
Senior Member
Join Date: Mar 2014
Location: Sweden
Old 03-15-2014 , 10:51   Re: Empty bool?
Reply With Quote #3

Quick response, just what i needed. Thanks!

Last edited by Buckshot; 03-15-2014 at 10:52.
Buckshot is offline
Send a message via Skype™ to Buckshot
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 06:00.


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