SA-MP Forums Archive
Link - 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)
+--- Thread: Link (/showthread.php?tid=402273)



Link - DerickClark - 25.12.2012

How to make a /link Vist our Forum at www.test.com
to everone


AW: Link - Skimmer - 25.12.2012

Can you explain us more? I didn't understand what you mean, if you mean directly connect to the server try:
samp://yourip


Re: Link - DerickClark - 25.12.2012

if (strcmp("/link", cmdtext, true, 5) == 0)
{
if(PInfo[playerid][Level] < 2) return SendClientMessage(playerid,red,error);
SendClientMessage(playerid, COLOR_YELLOW, "The Website for this server is www.test.com");
return 1;
}


Re: Link - iGetty - 25.12.2012

pawn Код:
command(link, playerid, params[])
{
    SendClientMessageToAll(-1, "Visit our Forum at www.test.com");
    return 1;
}
OR

pawn Код:
if(strcmp("/link", cmdtext, true, 5) == 0)
{
    SendClientMessageToAll(-1, "Visit our Forum at www.test.com");
    return 1;
}



Re: Link - DerickClark - 25.12.2012

Quote:
Originally Posted by iGetty
Посмотреть сообщение
pawn Код:
command(link, playerid, params[])
{
    SendClientMessageToAll(-1, "Visit our Forum at www.test.com");
    return 1;
}
OR

pawn Код:
if(strcmp("/link", cmdtext, true, 5) == 0)
{
    SendClientMessageToAll(-1, "Visit our Forum at www.test.com");
    return 1;
}
k tys for your help


Re: Link - iGetty - 25.12.2012

Quote:
Originally Posted by DerickClark
Посмотреть сообщение
k tys for your help
Not a problem, mate.