Thread
: [Solved]
Arrays assiging same value to all elements
View Single Post
Author
Message
ish12321
Veteran Member
Join Date: May 2016
04-20-2018 , 14:42 Arrays assiging same value to all elements
#
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
View Public Profile
Send a private message to ish12321
Find More Posts by ish12321