[SOLVED] GameTextForPlayer doesn't show Number 1
#1

Код:
format(string, sizeof(string), "Level: ~r~%d", HouseInfo[h][hLevel]);
				  	GameTextForPlayer(i,string, 1100, 3);
For some reason %d doesn't show number 1. But the variable is still holding the number.
So i dont know why its not displaying it.
Reply
#2

Are you sure the variable is getting set to something or not set to the write thing?
Reply
#3

have u tested making it a send client message? so u can check if it works?
Reply
#4

Quote:
Originally Posted by BiG_Sm0k3
have u tested making it a send client message? so u can check if it works?
yes i have and it does send me the correct value.
It will return the values 0, 2.etc
Bu for some reason it doesn't show 1.
Reply
#5

Not sure why it would do that, try spacing the color escape code away from the %d.
Reply
#6

Thank you Joe Staff, it works.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)