SA-MP Forums Archive
How to create a login text draw? - 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: How to create a login text draw? (/showthread.php?tid=613750)



How to create a login text draw? - Immortal99 - 31.07.2016

How do i create a login text draw filterscript for my server? And when i spawn it should destroy


Re: How to create a login text draw? - FreAkeD - 31.07.2016

https://sampwiki.blast.hk/wiki/Textdraw

https://sampforum.blast.hk/showthread.php?tid=376758


Re: How to create a login text draw? - Deadpoop - 31.07.2016

PHP код:
new Text:TD;
//on login
TextDrawShowForPlayer(playeridTD);
//on login succes
HideTextDrawForPlayer(playeridTD);
//if gamemode
public OnGameModeInit()
{
     
TD TextDrawCreate(300.0240.0"login");
     return 
1;
}
public 
OnGameModeExit()
{
     
TextDrawDestroy(TD);
     return 
1;
}
//if filterscript 
public OnFilterScriptInit()
{
     
TD TextDrawCreate(300.0240.0"login");
     return 
1;
}
public 
OnFilterScriptExit()
{
     
TextDrawDestroy(TD);
     return 
1;




Re: How to create a login text draw? - Logic_ - 31.07.2016

There are no textdraw codes in the above reply... This guy is not helping but just increasing their problem...


Re: How to create a login text draw? - Immortal99 - 31.07.2016

Got it Thanks Guys! ☺