Where to Define my Web url in my Pawn.
#1

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.
Reply
#2

What do you mean?

Oh maybe.


#define SERVER_URL "www.mysite.com"
Reply
#3

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?
Reply
#4

you mean on the right side?
Reply
#5

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
Reply
#6

If you want it in your script do

#DEFINE Website <URL here>

Then

SendClientMessage(playerid, <Color>, "Visit our site at %s", Website);
Reply
#7

pawn Код:
#define MyWeb wwwyourwebdotcom

SendClientMessage(playerid, COLOR, "Visit our website at: "#MyWeb"");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)