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.