Closer chat for RP. + REP.
#8

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);
    SendNearbyMessage(playerid, 10, string, COLOR_WHITE, COLOR_WHITE, COLOR_WHITE, COLOR_WHITE, COLOR_WHITE);
    return 0;
}
Edit: Fixed Sendnearbymessage.
Reply


Messages In This Thread
Closer chat for RP. + REP. - by DemME - 20.12.2013, 19:11
Re: Closer chat for RP. + REP. - by Zamora - 20.12.2013, 19:21
Re: Closer chat for RP. + REP. - by DemME - 20.12.2013, 19:50
Re: Closer chat for RP. + REP. - by iFiras - 20.12.2013, 19:53
Re: Closer chat for RP. + REP. - by Zamora - 20.12.2013, 19:53
Re: Closer chat for RP. + REP. - by DemME - 20.12.2013, 19:56
Re: Closer chat for RP. + REP. - by Mitchy - 20.12.2013, 19:57
Re: Closer chat for RP. + REP. - by Zamora - 20.12.2013, 20:10
Re: Closer chat for RP. + REP. - by FakkChass - 20.12.2013, 20:31
Re: Closer chat for RP. + REP. - by DemME - 20.12.2013, 20:48

Forum Jump:


Users browsing this thread: 2 Guest(s)