WTF?!
#5

Quote:
Originally Posted by Gazzy
Посмотреть сообщение
In your script, instead of %i use %02d. Also, you have not made a new string, so add String[256]; to new.
There's nothing wrong with %i, %02d is NOT what he's currently trying to do. %02d just means "add a zero if integer is less than 10." (1 = 01 etc.)

And he probably have created a GLOBAL array called "String", and the size 256 is DOUBLE the size of what is possible to send to a client, so it is very stupid.
Reply


Messages In This Thread
WTF?! - by Lirbo - 23.07.2015, 12:40
Re: WTF?! - by Gazzy - 23.07.2015, 12:45
Re: WTF?! - by liquor - 23.07.2015, 12:46
AW: WTF?! - by Mencent - 23.07.2015, 12:47
Re: WTF?! - by liquor - 23.07.2015, 12:49
Re: WTF?! - by Crystallize - 23.07.2015, 12:56
Re: WTF?! - by Gazzy - 23.07.2015, 12:58
Re: WTF?! - by Overhaul - 23.07.2015, 13:06
Re: AW: WTF?! - by Lirbo - 23.07.2015, 13:22
Re: WTF?! - by Crystallize - 23.07.2015, 13:38

Forum Jump:


Users browsing this thread: 2 Guest(s)