24.07.2015, 13:15
I'm not an expert but here is what I would do:
Create a textdraw and a new string which we will format:
then you format the string: ping.
then you set the string in the textdraw:
I just started using TextDraw's yesterday and I haven;t tested if the code I put works since I'm in a rush.
Create a textdraw and a new string which we will format:
Код:
new Text:pingmessage; new ping[length];
Код:
format(ping, sizeof(ping), GetPlayerPing(playerid));
Код:
TextDrawSetString(pingmessage, ping);