public OnGameModeInit() { new test = 0, test2 = 122, test3 = 0b101011, tmp[16]; printf("test: %d | %b | %x", test, test, test); printf("test2: %d | %b | %x", test2, test2, test2); printf("test3: %d | %b | %x", test3, test3, test3); format(tmp, 16, "Output: %b %b %b", test, test2, test3); print(tmp); }
[01:39:13] test: 0 | b | 0 [01:39:13] test2: 122 | b | 7A [01:39:13] test3: 43 | b | 2B [01:39:13] Output: b b b
Confirmed. I have a similar problem. Turned from this:
http://i53.tinypic.com/29elysi.jpg Into this: http://i55.tinypic.com/vo0dj9.png No changes to that part whatsoever. |
0.3c R1/R2 | 0.3c R4 |
"101010" | "101010" |
"0101010" | "0101010" |
" 101010" | " 101010" |
"101010" | "101010" |
"2A" | "2A" |
"0002A" | "0002A" |
" 2A" | " 2A" |
"2A" | "2A" |
"2A" | "2A" |
"0002A" | "0002A" |
" 2A" | " 2A" |
"2A" | "2A" |
"42" | "42" |
"00042" | "00042" |
" 42" | " 42" |
"42" | "42" |
"hello" | "hello" |
"hel " | "hel " |
"hello" | "hello" |
"hel" | "hel" |
"57.000000" | "57.000000" |
" 57.000000" | "00057.000000" |
" 57.000000" | " 57.000000" |
"57.000" | "57.000" |
"101010" | "101010" |
"0101010" | "0101010" |
" 101010" | " 101010" |
"101010" | "101010" |
"2A" | "2A" |
"0002A" | "0002A" |
" 2A" | " 2A" |
"2A" | "2A" |
"2A" | "2A" |
"0002A" | "0002A" |
" 2A" | " 2A" |
"2A" | "2A" |
"42" | "42" |
"00042" | "00042" |
" 42" | " 42" |
"42" | "42" |
"hello" | "hello" |
"hel " | "hel " |
"hello" | "hello" |
"hel" | "hel" |
"57.000000" | "57.000000" |
" 57.000000" | "00057.000000" |
" 57.000000" | " 57.000000" |
"57.000" | "57.000" |
"101010" | "101010" |
"0101010" | "0101010" |
" 101010" | " 101010" |
"101010" | "101010" |
"2A" | "2A" |
"0002A" | "0002A" |
" 2A" | " 2A" |
"2A" | "2A" |
"2A" | "2A" |
"0002A" | "0002A" |
" 2A" | " 2A" |
"2A" | "2A" |
"42" | "42" |
"00042" | "00042" |
" 42" | " 42" |
"42" | "42" |
"hello" | "hello" |
"hel " | "hel " |
"hello" | "hello" |
"hel" | "hel" |
"57.000000" | "57.000000" |
" 57.000000" | "00057.000000" |
" 57.000000" | " 57.000000" |
"57.000" | "57.000" |
new teststring[4];
public OnFilterScriptInit()
{
teststring = "Hi!";
CallLocalFunction("print", "s", teststring); // does not work
SetTimerEx("print", 1000, 0, "s", teststring); // does not work
SetTimerEx("Func", 2000, 0, "d", 0); // works
SetTimerEx("Func", 3000, 0, "d", 1); // works
}
forward Func(text);
public Func(text)
{
if(text)
{
printf("_%s_", teststring);
}
else
{
print(teststring);
}
}
_Hi!_ Hi!
Hi! Hi! _Hi!_ Hi!
new teststring[4];
public OnFilterScriptInit()
{
teststring = "Foo";
SetTimerEx("Func", 1000, 0, "s", teststring);
SetTimerEx("Func", 1500, 0, "s", "Moo");
}
forward Func(text[]);
public Func(text[])
{
print(text);
}
(null) (null)
Foo Moo