02.01.2017, 14:01
Quote:
You are creating a Textdraw for the whole server while trying to show it to a specific player.
To fix this you need to do the following: 1.Instead of using TextDrawCreate, use CreatePlayerTextDraw This does not only apply to TextDrawCreate but also all other Textdraw functions. 2.You will also need to change the new's: Instead of new Text use new PlayerText RECOMMENDATION: I also recommend using a single variable for all text draws. For example Instead of : Код:
new Text:bg; new Text:barsus; new Text:viteza; new Text:vitezakm; new Text:tipmasina; Код:
new PlayerText:Speedo[4]; then change all the text draw settings etc. Later on if you want to show the text draw to players, instead of creating 5 lines, use a loop. Код:
for(new i=0; i < 4; i++){ TextDrawShowForPlayer(playerid, Speedo[i]); return 1; } |