if (realchat) { if(gPlayerLogged[playerid] == 0) { return 0; } if(NameOff[playerid] == 1) { if(gPlayerLogged[playerid] == 1) { format(string, sizeof(string), "Unknown Says: %s", text); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5); return 0; } } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "%s Says: %s", sendername, text); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5); return 0; } return 1; |