2021-04-22, 10:50 AM
(This post was last modified: 2021-04-22, 10:59 PM by PutuSuhartawan.)
Code:
public OnPlayerText(playerid, text[])
{
? //new AdaSays[90];
// format(AdaSays, sizeof(AdaSays), ""COL_WHITE"Says: %s", text);
// ProcessChatText(playerid, AdaSays);
? //TalkMessage(ACTION_DISTANCE, playerid, "", text);
? SEM(playerid, ""COL_RED"DEBUG: "COL_WHITE"message text example");
? new string[228];
? format(string, sizeof(string), "%s says: %s", GetRPName(playerid), text);
? CloseMessage(playerid, COLOR_WHITE, string);
? //format(string, sizeof(string), "%s says: %s", GetRPName(playerid), text);
//Log("logs/chatlogplayer.log", string);
? format(string,sizeof(string),"%s", text);
? SetPlayerChatBubble( playerid, string,0xFFFFFFFF,20.0,5500);
? return 1;
}