Global Chat
#8

Quote:
Originally Posted by MarinacMrcina
Посмотреть сообщение
Find "public OnPlayerText" and replace it with:

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof name);
    format(string, sizeof(string), "%s : %s", name, text);
    SendClientMessageToAll(-1,string);
    return 1;
}
script acima total failed

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[148];
    new aname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,aname,sizeof(aname));
    format(string,sizeof(string),"%s[%d]{FFFFFF}: %s",aname,playerid,text);
    SendClientMessageToAll(GetPlayerColor(playerid),string);
    return 0;
}
Se ajudei da reputation
Reply


Messages In This Thread
Global Chat - by W0rm - 03.09.2012, 16:44
Re: Global Chat - by ThePhenix - 03.09.2012, 16:53
Re: Global Chat - by W0rm - 03.09.2012, 17:20
Re: Global Chat - by Luis- - 03.09.2012, 17:34
Re: Global Chat - by W0rm - 03.09.2012, 20:04
Re: Global Chat - by [BOPE]Seu._.Madruga - 03.09.2012, 20:27
Re: Global Chat - by MarinacMrcina - 03.09.2012, 20:31
Re: Global Chat - by [BOPE]Seu._.Madruga - 03.09.2012, 20:41
Re: Global Chat - by Joe Staff - 03.09.2012, 20:41

Forum Jump:


Users browsing this thread: 1 Guest(s)