Once per Death [HELP]
#3

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?

PHP код:
new bool:WhatBro[20 char] = {true, ...};
public 
OnFilterScriptInit()
{
    for(new 
020i++)
    {
        
printf("%s - %d",(WhatBro{i}) ? ("True") : ("False"), i);
    }

result:
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 
Reply


Messages In This Thread
Once per Death [HELP] - by Sting. - 02.08.2017, 15:47
Re: Once per Death [HELP] - by Misiur - 02.08.2017, 16:14
Re: Once per Death [HELP] - by jlalt - 02.08.2017, 16:51
Re: Once per Death [HELP] - by Sting. - 02.08.2017, 17:12
Re: Once per Death [HELP] - by Misiur - 02.08.2017, 18:24
Re: Once per Death [HELP] - by Misiur - 02.08.2017, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)