• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] HELP! How to Change RP name return chat remove underline OnPlayerText but return 0 ?
#6
(2021-04-22, 10:50 AM)PutuSuhartawan Wrote:
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;

}



return 0
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply


Messages In This Thread
RE: HELP! How to Change RP name return chat remove underline OnPlayerText but return 0 ? - by Pinch - 2021-04-22, 11:17 PM

Forum Jump: