SA-MP Forums Archive
Fast Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Fast Help (/showthread.php?tid=377401)



Fast Help - JEkvall95 - 14.09.2012

What makes the chat look like this
I want the deafult layout... please help

I havent done anything. it just stopped working by itself :/

>> Hello I dont want that'


Re: Fast Help - C00K13M0N$73R - 14.09.2012

OnPlayerText sir.


Re: Fast Help - XtremeR - 14.09.2012

well do it like this


pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[128];
    format(string,sizeof(string),"[%i]%s: {FFFFFF}%s",playerid,pName(playerid),text);
    SetPlayerChatBubble(playerid, text, 0xFFFFFFFF, 100.0, 10000);
    printf(string);
    SendClientMessageToAll(GetPlayerColor(playerid),string);
    return 0;
    }
    return 1;
}



Re: Fast Help - mamorunl - 14.09.2012

If he would just remove the code that does that stuff in OnPlayerText he would've hadd the same effect