03.08.2011, 20:20
I made a simple Speedmeter, but TextDrawSetString returns randomly a number. Only sometimes it writes the current Speed.
Код:
new msg[200]; format(msg,200,"Speed: %dkm/h",GetSpeed(playerid,true)); TextDrawSetString(TextDraws[5], msg); SendClientMessage(playerid,0xFF0000FF,msg); <-- returns the right Speed every time