SA-MP Forums Archive
Problem with texdraw. - 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: Problem with texdraw. (/showthread.php?tid=362837)



Problem with texdraw. - dundolina - 25.07.2012

When you add this textdraw https://sampforum.blast.hk/showthread.php?tid=60108 not show me hours. How can I fix it? I have other textdraw and they will give to help me. Thanks in advance!

Код:
//============================[TextDraws]=======================================
	txtSpec = TextDrawCreate(610.0, 400.0,
	"~b~~k~~PED_SPRINT~ ~w~to respawn");
	TextDrawUseBox(txtSpec, 0);
	TextDrawFont(txtSpec, 2);
	TextDrawSetShadow(txtSpec,0);
    TextDrawSetOutline(txtSpec,1);
    TextDrawBackgroundColor(txtSpec,0x000000FF);
    TextDrawColor(txtSpec,0xFFFFFFFF);
    TextDrawAlignment(txtSpec,3);



Re: Problem with texdraw. - SomebodyAndMe - 25.07.2012

Add under OnPlayerSpawn:

pawn Код:
TextDrawShowForPlayer(playerid, txtSpec);



Re: Problem with texdraw. - dundolina - 25.07.2012

I do,but don't work.This occurs when all scripts have textdraw.


Re: Problem with texdraw. - dundolina - 25.07.2012

Help?


Re: Problem with texdraw. - dundolina - 25.07.2012

Help?


Re: Problem with texdraw. - Akira297 - 25.07.2012

Just run it as a filter script and keep updated on it. Don't try to add it into your game mode. Just keep it as is.


Re: Problem with texdraw. - dundolina - 25.07.2012

Well let it go as a filterscript. Is there another limit of 16 filterscripts in the mod?