Textdraw String help ?
#2

I'm not an expert but here is what I would do:

Create a textdraw and a new string which we will format:
Код:
new Text:pingmessage;
new ping[length];
then you format the string: ping.

Код:
format(ping, sizeof(ping), GetPlayerPing(playerid));
then you set the string in the textdraw:

Код:
TextDrawSetString(pingmessage, ping);
I just started using TextDraw's yesterday and I haven;t tested if the code I put works since I'm in a rush.
Reply


Messages In This Thread
Textdraw String help ? - by Toxik - 24.07.2015, 12:53
Re: Textdraw String help ? - by Lofti - 24.07.2015, 13:15
Re: Textdraw String help ? - by Andre02 - 24.07.2015, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)