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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Text Draw (
/showthread.php?tid=125351)
Text Draw -
nastoe - 03.02.2010
how to create text like this >>>>
Re: Text Draw -
philmckrakin - 03.02.2010
try this:
Code:
//at the top with all the global vars
new Text:Info;
// inside OnGameModeInit()
Info = TextDrawCreate(470,450,"YOUR WEBSITE HERE")// change text inside here
TextDrawColor(header,0xffffffff);// change to desired colour
TextDrawSetOutline(Info,1);// outline
TextDrawSetShadow(Info,0);// 0 is no shadow 1 is shadow
// inside OnPlayerConnect
TextDrawShowForAll(header);
happy scripting
/phil
Re: Text Draw -
nastoe - 03.02.2010
C:\Users\NASTIE\Desktop\KIKI\Las Venturas Party\samp03asvr_R4_win32\gamemodes\LvParty.pwn(28 ) : error 017: undefined symbol "header"
C:\Users\NASTIE\Desktop\KIKI\Las Venturas Party\samp03asvr_R4_win32\gamemodes\LvParty.pwn(60 4) : error 017: undefined symbol "header"
line 28
Code:
TextDrawShowForAll(header);
line 604
Code:
TextDrawColor(header,0xffffffff);// change to desired colour
Re: Text Draw -
~Dangun! - 03.02.2010
change the text "header" to "Info"
Re: Text Draw -
nastoe - 03.02.2010
Quote:
|
Originally Posted by ReteLikker
change the text "header" to "Info"
|
C:\Users\NASTIE\Desktop\KIKI\Las Venturas Party\samp03asvr_R4_win32\gamemodes\LvParty.pwn(28 ) : error 017: undefined symbol "info"
C:\Users\NASTIE\Desktop\KIKI\Las Venturas Party\samp03asvr_R4_win32\gamemodes\LvParty.pwn(60 4) : error 017: undefined symbol "info"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: Text Draw -
~Dangun! - 03.02.2010
not 'i' but 'I'
Re: Text Draw -
philmckrakin - 03.02.2010
Quote:
|
Originally Posted by ReteLikker
not 'i' but 'I'
|
yep thatll do it
Re: Text Draw -
nastoe - 03.02.2010
OMGGG seif tnxxxx