A chat problem (ZCMD)
#2

This.

pawn Код:
CMD:n(playerid, params[])
{
    new string[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, LIGHTBLUE, "Usage: /n(ewbie) [Text]");
    format(string, sizeof(string), "%s: %s",pName, params);
    SendClientMessageToAll(COLOR_BLUE, string);
    return 1;
}
Reply


Messages In This Thread
A chat problem (ZCMD) - by xXRealLegitXx - 15.02.2013, 01:08
Re: A chat problem (ZCMD) - by Neil. - 15.02.2013, 01:12
Re: A chat problem (ZCMD) - by JJB562 - 15.02.2013, 01:14
Re: A chat problem (ZCMD) - by xXRealLegitXx - 15.02.2013, 01:37
Re: A chat problem (ZCMD) - by xXRealLegitXx - 15.02.2013, 01:42
Re: A chat problem (ZCMD) - by xXRealLegitXx - 15.02.2013, 01:45
Re: A chat problem (ZCMD) - by Scenario - 15.02.2013, 02:04
Re: A chat problem (ZCMD) - by RajatPawar - 15.02.2013, 02:07

Forum Jump:


Users browsing this thread: 3 Guest(s)