View Single Post
Author Message
ish12321
Veteran Member
Join Date: May 2016
Old 04-20-2018 , 14:42   Arrays assiging same value to all elements
Reply With Quote #1

Hey,
I've a boolean multidimensional array : new bool:array[33][33];
Now, I want to set all elements of array[id] to true. One way is using looping. Is there any other way to do it in single line, something like array[id] = {false, false, ...}; without having to type false 33 times ?
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here

Last edited by ish12321; 04-20-2018 at 22:49.
ish12321 is offline