Textdraw bug - 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)
+--- Thread: Textdraw bug (
/showthread.php?tid=325900)
Textdraw bug -
Dripac - 15.03.2012
When someone is writing /ad text, every word is going on a new line, but it should stay on 1 line, i don't know what's wrong
pawn Код:
Werbung = TextDrawCreate(7.000000, 249.000000, "Werbung: ~g~Selling a house blabla!~n~Spielername: ~g~kokayne~n~Handynummer: ~g~0649");
Re: Textdraw bug -
Rac3r - 15.03.2012
..... deleted.....
EDIT: Actually, I was wrong. Set TextDrawTextSize() to something like:
Код:
TextDrawTextSize(textdrawid, 300.0, 480);
Re: Textdraw bug -
Dripac - 15.03.2012
but why font size?
Here is the format which i have under /ad
pawn Код:
format(string, sizeof(string), "~w~Werbung: ~g~%s~w~~n~Spielername: ~g~%s~n~~w~Handynummer: ~g~%d", result, sendername,PlayerInfo[playerid][pPnumber]);
// edit, thank you it actually works