SA-MP Forums Archive
Screen text - 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: Screen text (/showthread.php?tid=507354)



Screen text - Ananisiki - 17.04.2014

~~~~~~~~


Re: Screen text - Ananisiki - 18.04.2014

Bump


Re: Screen text - Dziugsas - 18.04.2014

Why don't you try to put it on OnPlayerConnect?Not on GameModeInit...


Re: Screen text - Ananisiki - 18.04.2014

I tryed but i get this
i had many texts like this
"Welcome to the server"

like 8 of it but it only shows one it dont update and when i add this as filterscript / gamemode it mess up with my other textdraws, pls help
pawn Код:
warning 219: local variable "playerid" shadows a variable at a preceding level



Re : Screen text - S4t3K - 18.04.2014

Don't care at all about this warning.

It just means you've tried to initialize a variable with the name "playerid".


Re: Screen text - Ananisiki - 19.04.2014

Still mess up with other textdraws...


Re: Screen text - Aerotactics - 19.04.2014

Instead of:
pawn Код:
new TextDrawAdMsg[MAX_AD_MSG][] =
{
     {"Welcome to the server"}
};
Try:
pawn Код:
new TextDrawAdMsg[][] =
{
     {"Welcome to the server"}
};



Re: Screen text - Ananisiki - 19.04.2014

Still the same, i cant see other textdraws....


Re: Screen text - Ananisiki - 21.04.2014

I remove all [playerid] and it work but now the same textdraw comes up 3 times and its only one message showing, other not showing, should it be a timer on this or