Posts: 127
Threads: 43
Joined: Nov 2010
Reputation:
0
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.
Posts: 216
Threads: 5
Joined: Jan 2011
Reputation:
0
What do you mean?
Oh maybe.
#define SERVER_URL "www.mysite.com"
Posts: 127
Threads: 43
Joined: Nov 2010
Reputation:
0
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?
Posts: 663
Threads: 55
Joined: Nov 2010
Reputation:
0
you mean on the right side?
Posts: 280
Threads: 45
Joined: Jun 2008
Reputation:
0
If you want it in your script do
#DEFINE Website <URL here>
Then
SendClientMessage(playerid, <Color>, "Visit our site at %s", Website);