usebox size problem
#1

hello ladies and gentleman
my problem is when i use command to send the value to textdraw create it wont work (not showing)
but if i directly put values in PositionX and Y(in script file) it will show
but i wanted to give textdraw value in game how to do that ?
so i have this on ttop

Код:
new Float:PositionX,Float:PositionY
in onplayerconnect
Код:
Textdraw0[playerid] = TextDrawCreate(PositionX,PositionY, "usebox");
and in a command /show

Код:
			PositionX=28.874847;
			PositionY=114.666633;
Reply
#2

You need to hide and re-show the textdraw for changes to take effect. The only exception to this rule is TextDrawSetString.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)