02.08.2017, 16:51
I don't think you can store boolean value inside a char. ;-; [ just did some tests / prints found result wasn't correct. ], may you double check that?
result:
PHP код:
new bool:WhatBro[20 char] = {true, ...};
public OnFilterScriptInit()
{
for(new i = 0; i < 20; i++)
{
printf("%s - %d",(WhatBro{i}) ? ("True") : ("False"), i);
}
}
PHP код:
False - 0
False - 1
False - 2
True - 3
False - 4
False - 5
False - 6
True - 7
False - 8
False - 9
False - 10
True - 11
False - 12
False - 13
False - 14
True - 15
False - 16
False - 17
False - 18
True - 19