format and printf bug in SAMP 0.3c R3-1
#1

Hello, I found bug..

Код:
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);
}
Log:
Код:
[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
In 0.3c R2 and older %b works.
Reply


Messages In This Thread
format and printf bug in SAMP 0.3c R3-1 - by bocian941 - 25.07.2011, 23:41
Re: format and printf bug in SAMP 0.3c R3-1 - by Karlip - 26.07.2011, 10:57
Re: format and printf bug in SAMP 0.3c R3-1 - by Vince - 26.07.2011, 11:06
Re: format and printf bug in SAMP 0.3c R3-1 - by dugi - 26.07.2011, 11:14
Re: format and printf bug in SAMP 0.3c R3-1 - by Vince - 26.07.2011, 11:32
Re: format and printf bug in SAMP 0.3c R3-1 - by bocian941 - 26.07.2011, 13:19
Re: format and printf bug in SAMP 0.3c R3-1 - by JernejL - 26.07.2011, 14:33
Re: format and printf bug in SAMP 0.3c R3-1 - by Kalcor - 27.07.2011, 09:08
AW: format and printf bug in SAMP 0.3c R3-1 - by Meta - 27.07.2011, 11:20
AW: format and printf bug in SAMP 0.3c R3-1 - by Meta - 27.07.2011, 11:41

Forum Jump:


Users browsing this thread: 2 Guest(s)