hello again... Again one problem...
#1

So I use zcmd but now i'm thinking how to get it write becouse I'm new at zcmd so yeah...

SO I want when pleyer says text like

/think he is retarded

the text out put was:

Player name thinks he is retarded

Код:
CMD:think(playerid, params[])
{
    if(isnull(params)) return SendClientMessage(playerid, 0x8000FFC9, "/think [text]");
    new
        string[128],
        pName[20 char]
    ;
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "* thinks %s %s *", pName, params);
    return SendClientMessageToAll(0x8000FFC9, string);
}
Reply


Messages In This Thread
hello again... Again one problem... - by trapped1 - 26.04.2011, 12:41
Re: hello again... Again one problem... - by Raimis_R - 26.04.2011, 12:52
Re: hello again... Again one problem... - by trapped1 - 26.04.2011, 12:59
Re: hello again... Again one problem... - by Raimis_R - 26.04.2011, 13:01
Re: hello again... Again one problem... - by trapped1 - 26.04.2011, 13:03

Forum Jump:


Users browsing this thread: 1 Guest(s)