/website
#9

Quote:
Originally Posted by Chenko
Посмотреть сообщение
In your gamemode under OnPlayerCommandText put this:

pawn Код:
if(!strcmp(cmdtext, "/website", true))
{
    SendClientMessage(playerid, -1, "Our website is PUT WEBSITE URL HERE");
    return 1;
}
It should look something like this:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/website", true))
    {
        SendClientMessage(playerid, -1, "Our website is PUT WEBSITE URL HERE");
        return 1;
    }

return 1;
}
Obviously all your other commands would be there and not just this one.
Thank you
Reply


Messages In This Thread
/website - by TheEpicBraxton - 19.01.2013, 21:33
Re: /website - by LarzI - 19.01.2013, 21:38
Re: /website - by TheEpicBraxton - 19.01.2013, 21:42
Re: /website - by JaKe Elite - 19.01.2013, 21:44
Re: /website - by LarzI - 19.01.2013, 21:44
Re: /website - by azzerking - 19.01.2013, 21:45
Re: /website - by Mado - 19.01.2013, 21:46
Re: /website - by Chenko - 19.01.2013, 22:51
Re: /website - by TheEpicBraxton - 19.01.2013, 22:55
Re: /website - by LarzI - 19.01.2013, 23:24

Forum Jump:


Users browsing this thread: 2 Guest(s)