Textdraws won't show - 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: Textdraws won't show (
/showthread.php?tid=276211)
Textdraws won't show -
IllidanS46 - 12.08.2011
Hi, when I try to create textdraws on init and show them to player, nothing happens! Even with blank gamemode and no other filterscripts. Please, help me.
pawn Код:
#include <a_samp>
new Text:welcomeText;
public OnFilterScriptInit()
{
welcomeText = TextDrawCreate(240.0,580.0,"Welcome to my SA-MP server");
return true;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,welcomeText);
}
Re: Textdraws won't show -
Zonoya - 12.08.2011
if u want it to show on the screen do it this way
Код:
GameTextForPlayer(playerid,"~w~Welcome~y~ To~b~ Carrier Wars~r~ CHEATING WILL GET U BANNED SO DONT DO IT,~g~ And Have a Nice Stay",5000,5);
Re: Textdraws won't show -
IllidanS46 - 12.08.2011
But I want to show a textdraw and this answer does not really solve the problem!