OnPlayerText
#1

hi guys

i make this

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof (name));
    format(string, sizeof(string), "%s says: %s", name, text);
    SendAtHim(playerid, 10, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
    Log("logs/chat.log", string);
    return 1;
}

Reply


Messages In This Thread
OnPlayerText - by morocco - 04.07.2013, 15:51
Re: OnPlayerText - by Norhy - 04.07.2013, 15:53
Re : OnPlayerText - by morocco - 04.07.2013, 16:02
Re: OnPlayerText - by Puga - 04.07.2013, 16:04

Forum Jump:


Users browsing this thread: 1 Guest(s)