Text Draw Confliction - 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: Text Draw Confliction (
/showthread.php?tid=537173)
Text Draw Confliction -
austin070 - 14.09.2014
I have 2 textdraws, one showing zones (using
this), and one that shows speed when a player is driving a vehicle. However, these textdraws often conflict and the speedometer will flash the zone name every time the zone timer is called. Other times the speed will replace the zones textdraw. This usually happens with playerid 0, but I think it occurs with other ids as well. Does anyone have any idea what I'm experiencing?
Re: Text Draw Confliction -
Pottus - 14.09.2014
That filterscript needs to be updated to playertextdraws it's possible you are filling all your textdraw slots up and getting incorrect references or something along those lines. In my opinion that FS is outdated and if you have anything in your scripts that has Text:TDName[MAX_PLAYERS]; it is incorrect.
https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw
Re: Text Draw Confliction -
austin070 - 14.09.2014
Actually, I just updated it to player text draws right before you posted and I'm having the same issue.
Re: Text Draw Confliction -
austin070 - 14.09.2014
bump