SA-MP Forums Archive
TextDraw problem... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: TextDraw problem... (/showthread.php?tid=267479)



TextDraw problem... - Edvin - 08.07.2011

Hi all..
i make a textdraw to show online players...
but i have problems...
here is a picture o his form without TextDrawEditor1.0
http://imageshack.us/photo/my-images/827/nonormal.png/

but when i put TextDrawEditor1.0 the textdraw is normal like in this picture:
http://imageshack.us/photo/my-images/30/normaln.png/

what is the problem?


Re: TextDraw problem... - iPLEOMAX - 08.07.2011

Did you copy all the functions?

TextDrawFont
TextDrawLetterSize
TextDrawColor
TextDrawSetOutline
TextDrawSetProportional
TextDrawSetShadow
TextDrawTextSize

Make you you put these things in OnGameModeInit...


Re: TextDraw problem... - Edvin - 08.07.2011

Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
Did you copy all the functions?

TextDrawFont
TextDrawLetterSize
TextDrawColor
TextDrawSetOutline
TextDrawSetProportional
TextDrawSetShadow
TextDrawTextSize

Make you you put these things in OnGameModeInit...
yes i copy all thinks this is the textdraw:
pawn Код:
PlayersS = TextDrawCreate(4.000000, 317.000000, "Players:");
    TextDrawBackgroundColor(PlayersS, 255);
    TextDrawFont(PlayersS, 2);
    TextDrawLetterSize(PlayersS, 0.170000, 1.300000);
    TextDrawColor(PlayersS, -1);
    TextDrawSetOutline(PlayersS, 1);
    TextDrawSetProportional(PlayersS, 1);



Re: TextDraw problem... - [MG]Dimi - 08.07.2011

Only difference I see is font type. You have set colors to be random with -1.