textdraw wrong working - 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 wrong working (
/showthread.php?tid=649674)
textdraw wrong working -
cuchipkg - 13.02.2018
thanks for help
i have this textdraw if i use like that textdraw ThongTinXe can show, but first textdraw can't show
if i delete first textdraw ThongTinXe can't showing what wrong ?
PHP код:
TextDrawCreate(240.0,580.0,"Loi");//first textdraw
//ThongTinXe
ThongTinXe = TextDrawCreate(619, 159, "hud:radar_impound");
TextDrawFont(ThongTinXe, 4);
TextDrawTextSize(ThongTinXe, 12.0, 12.0);
TextDrawUseBox(ThongTinXe, 1);
TextDrawSetSelectable(ThongTinXe, 1);
Re: textdraw wrong working -
PepsiCola23 - 13.02.2018
use
PHP код:
TextDrawShowForPlayer
Re: textdraw wrong working -
cuchipkg - 13.02.2018
Quote:
Originally Posted by PepsiCola23
use
PHP код:
TextDrawShowForPlayer
|
i know but it not showing the first textdraw
Re: textdraw wrong working -
Mugala - 13.02.2018
use variable when you create first textdraw to show it later.
for example:
PHP код:
firsttxd = TextDrawCreate(240.0,580.0,"Loi");//first textdraw
TextDrawShowForPlayer(playerid,firsttxd);//for show in later.