SA-MP Forums Archive
a question - 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: a question (/showthread.php?tid=94764)



a question - Dripac - 31.08.2009

where do i need to paste this at The Godfather GM?

Site = TextDrawCreate(1.000000,434.000000,"www.sdrp.gta-sa-mp.com");
TextDrawAlignment(Site,0);
TextDrawBackgroundColor(Site,0x00000099);
TextDrawFont(Site,1);
TextDrawLetterSize(Site,0.500000,1.500000);
TextDrawColor(Site,0xFFFFFFAA);
TextDrawSetOutline(Site,1);
TextDrawSetProportional(Site,1);
TextDrawSetShadow(Site,1);


Re: a question - Eazy_Efolife - 31.08.2009

Quote:
Originally Posted by ALpa # Gun
where do i need to paste this at The Godfather GM?

Site = TextDrawCreate(1.000000,434.000000,"www.sdrp.gta-sa-mp.com");
TextDrawAlignment(Site,0);
TextDrawBackgroundColor(Site,0x00000099);
TextDrawFont(Site,1);
TextDrawLetterSize(Site,0.500000,1.500000);
TextDrawColor(Site,0xFFFFFFAA);
TextDrawSetOutline(Site,1);
TextDrawSetProportional(Site,1);
TextDrawSetShadow(Site,1);
Under

OnGameModeInt


Re: a question - Dripac - 31.08.2009

C:\Dokumente und Einstellungen\Stefan\Desktop\The Godfather\gamemodes\gf.pwn(662 : error 017: undefined symbol "Site"
C:\Dokumente und Einstellungen\Stefan\Desktop\The Godfather\gamemodes\gf.pwn(6629) : error 017: undefined symbol "Site"
C:\Dokumente und Einstellungen\Stefan\Desktop\The Godfather\gamemodes\gf.pwn(6630) : error 017: undefined symbol "Site"
C:\Dokumente und Einstellungen\Stefan\Desktop\The Godfather\gamemodes\gf.pwn(6631) : error 017: undefined symbol "Site"
C:\Dokumente und Einstellungen\Stefan\Desktop\The Godfather\gamemodes\gf.pwn(6632) : error 017: undefined symbol "Site"
C:\Dokumente und Einstellungen\Stefan\Desktop\The Godfather\gamemodes\gf.pwn(6633) : error 017: undefined symbol "Site"
C:\Dokumente und Einstellungen\Stefan\Desktop\The Godfather\gamemodes\gf.pwn(6634) : error 017: undefined symbol "Site"
C:\Dokumente und Einstellungen\Stefan\Desktop\The Godfather\gamemodes\gf.pwn(6635) : error 017: undefined symbol "Site"
C:\Dokumente und Einstellungen\Stefan\Desktop\The Godfather\gamemodes\gf.pwn(6636) : error 017: undefined symbol "Site"




Re: a question - Eazy_Efolife - 31.08.2009

put this on top of your script:

new Textite;


Re: a question - Dripac - 31.08.2009

new Textite;
Site = TextDrawCreate(1.000000,434.000000,"LS/SF Roleplay");
TextDrawAlignment(Site,0);
TextDrawBackgroundColor(Site,0x00000099);
TextDrawFont(Site,1);
TextDrawLetterSize(Site,0.500000,1.500000);
TextDrawColor(Site,0xFFFFFFAA);
TextDrawSetOutline(Site,1);
TextDrawSetProportional(Site,1);
TextDrawSetShadow(Site,1);

like that? it doesn't work


Re: a question - Eazy_Efolife - 31.08.2009

no


Quote:
Originally Posted by Compton's Eazy E
put this on top of your script:

new Textite;
^^
|||

Read what i wrote


Re: a question - Dripac - 31.08.2009

hmm i fixed it now but the text deosnt show in-game


Re: a question - Eazy_Efolife - 31.08.2009

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


Re: a question - Dripac - 31.08.2009

i dont understand this...


Re: a question - Eazy_Efolife - 31.08.2009

mmm forget it, do this:

Under

OnPlayerConnect

put this

TextDrawShowForPlayer(playerid, site);