[BUG]First textdraw/3dtext doesn't show
#6

Quote:
Originally Posted by leong124
Посмотреть сообщение
I know they initializes as 0,
but I've assigned a value for them in OnGameModeInit :/
From the Wiki on TextDrawCreate:

Returns The ID of the created textdraw

So no matter what value you assign to the variable once the textdraw is created the variable holds the internal textdraw id that SAMP assigns it will not retain your own ID. By init'ing all the variables with INVALID_TEXT_DRAW simply means samp starts on the proper textdraw id.
Reply


Messages In This Thread
[SOLVED]First textdraw/3dtext doesn't show - by leong124 - 18.12.2010, 08:56
Re: [BUG]First textdraw/3dtext doesn't show - by Zamaroht - 18.12.2010, 09:06
Re: [BUG]First textdraw/3dtext doesn't show - by leong124 - 18.12.2010, 09:55
Re: [BUG]First textdraw/3dtext doesn't show - by cyber_punk - 18.12.2010, 11:09
Re: [BUG]First textdraw/3dtext doesn't show - by leong124 - 18.12.2010, 11:14
Re: [BUG]First textdraw/3dtext doesn't show - by cyber_punk - 18.12.2010, 11:31
Re: [BUG]First textdraw/3dtext doesn't show - by leong124 - 18.12.2010, 11:43

Forum Jump:


Users browsing this thread: 3 Guest(s)