06.07.2014, 06:32
pawn Код:
public OnPlayerConnect(playerid)
{
new pname[MAX_PLAYER_NAME], string[256];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "{ff0000}%s {c0c0c0}has joined the server.", pname);
SendClientMessage(playerid, COLOR_WHITE, "{FF0000}*** {ff2660}Welcome to {00FF99}:: {ff2660}"SERVER_NAME" {FF0000}***");
SendClientMessage(playerid, COLOR_WHITE, "{e5e5e5} Sly's God-Mode system is being used in this server.");
return 1;
}
You can use -1 instead of COLOR_WHITE
There will be 2 join messages now. ( filterscript and gamemode )
If someone does /god on and off, the chat bubble would still the there i guess..