Juanbustillos
Active member
Hi. I have created a cleo that shows score , distance and ping of a certain player by typing /info [playerid] and it works well..
but I wanna know how to print that things not in the same line..
For example i get
Score: 2 Ping: 180 Distance: 213.112
and i want like this
Score: 2
Ping: 180
Distance: 213.112
Look at my code:
17@ = Render.CreateFont("Verdana", 8, 12)
alloc 18@ 64
format 18@ "Score: %d~n~Ping: %d~n~Distance: %f" 12@ 13@ 14@
Render.DrawText(17@, 18@, 15@, 16@, -1)
~n~ means new line but it doesn't work what i need to put?
but I wanna know how to print that things not in the same line..
For example i get
Score: 2 Ping: 180 Distance: 213.112
and i want like this
Score: 2
Ping: 180
Distance: 213.112
Look at my code:
17@ = Render.CreateFont("Verdana", 8, 12)
alloc 18@ 64
format 18@ "Score: %d~n~Ping: %d~n~Distance: %f" 12@ 13@ 14@
Render.DrawText(17@, 18@, 15@, 16@, -1)
~n~ means new line but it doesn't work what i need to put?