Problem strlen
#3

This is a better one
pawn Код:
CMD:me(playerid, params[])
{
    new pName[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, pName, sizeof(pName));
    if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /me [Action]");
    format(string, sizeof(string), "* %s %s", pName, params);
    SendClientMessageToAll(COLOR_WHITE,string);
    return 1;
}
Reply


Messages In This Thread
Problem strlen [FIXED] - by Penait1 - 28.08.2011, 18:07
Re: Problem strlen - by [MG]Dimi - 28.08.2011, 19:35
Re: Problem strlen - by Kingunit - 28.08.2011, 19:41

Forum Jump:


Users browsing this thread: 2 Guest(s)