Where to Define my Web url in my Pawn. - 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: Where to Define my Web url in my Pawn. (
/showthread.php?tid=221191)
Where to Define my Web url in my Pawn. -
iiLiamii - 05.02.2011
Hi.
I am just wondering where I define my web url for my server in my pawn code?
Im not sure where to include the line and what code to use.
Re: Where to Define my Web url in my Pawn. -
PeteShag - 05.02.2011
What do you mean?
Oh maybe.
#define SERVER_URL "www.mysite.com"
Re: Where to Define my Web url in my Pawn. -
iiLiamii - 05.02.2011
Well at the moment my website is listed in my server config, but for some reason it is not displaying on the samp window it is just showing http: D:
Where do I edit that to show my website?
Re: Where to Define my Web url in my Pawn. -
TheYoungCapone - 05.02.2011
you mean on the right side?
Re: Where to Define my Web url in my Pawn. -
Johndaonee - 05.02.2011
In the server.cfg theres something called weburl just set it there.
EX: weburl Hello.com
if its not there just put it on a line
Re: Where to Define my Web url in my Pawn. -
Zack9764 - 05.02.2011
If you want it in your script do
#DEFINE Website <URL here>
Then
SendClientMessage(playerid, <Color>, "Visit our site at %s", Website);
Re: Where to Define my Web url in my Pawn. - [L3th4l] - 05.02.2011
pawn Код:
#define MyWeb wwwyourwebdotcom
SendClientMessage(playerid, COLOR, "Visit our website at: "#MyWeb"");