SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 20/05/2009, 08:55 AM   #1
Shellegg
Huge Clucker
 
Join Date: Apr 2008
Posts: 282
Reputation: 0
Default How to?

How do i put a message on the the button of the screen announcing the server's forum?
Is it a type of SendGameTextForPlayer?

But i want this message with the website and always showing.

How do i do it?

Thanks
Shellegg
Shellegg is offline  
Old 20/05/2009, 08:58 AM   #2
heufix
Big Clucker
 
Join Date: May 2009
Posts: 139
Reputation: 10
Default Re: How to?

use TextDrawCreate
heufix is offline  
Old 20/05/2009, 09:32 AM   #3
MenaceX^
High-roller
 
Join Date: Aug 2008
Posts: 3,262
Reputation: 13
Default Re: How to?

I recommend using Zamaroht's in-game textdraw maker. Easy to use also.
MenaceX^ is offline  
Old 20/05/2009, 11:06 AM   #4
Shellegg
Huge Clucker
 
Join Date: Apr 2008
Posts: 282
Reputation: 0
Default Re: How to?

I dont understand the form -.-
It says

TextDrawShowForAll(Text:text);

Should i put:

TextDrawShowForAll("www.mywebsitegoeshere.com");

?
Shellegg is offline  
Old 20/05/2009, 11:38 AM   #5
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,293
Reputation: 0
Default Re: How to?

You have to create the textdraw first using TextDrawCreate and then save it... I recommend using the program the others advised, it does alot of the work for you..

Other than that you need something like:

pawn Code:
//top of script
new Text:bob;

//on gamemode/filterscript init
bob = TextDrawCreate(100, 400, "[url]www.mywebsitegoeshere.com[/url][url=http://][/url]");

//on player connect
TextDrawShowForPlayer(playerid, bob);
Weirdosport is offline  
Old 20/05/2009, 11:41 AM   #6
Shellegg
Huge Clucker
 
Join Date: Apr 2008
Posts: 282
Reputation: 0
Default Re: How to?

thank you
Shellegg is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 06:53 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.