[y_commands] /commands loop..
#4

Thanks I'll try to put the rest together myself.

EDIT: How do I put the buffer[0] thing inside the string?

pawn Код:
for (new i = 0; i < count; i+=4)
    {
        format(string,sizeof(string),"/%s /%s /%s /%s /%s",Command_GetNext(i, playerid),Command_GetNext(i+1, playerid),Command_GetNext(i+2, playerid),Command_GetNext(i+3, playerid),Command_GetNext(i+4, playerid));
        SendInfoMessage(playerid, string);
    }
I don't want to end up with
pawn Код:
/help /commands / / /
Reply


Messages In This Thread
[y_commands] /commands loop.. - by introzen - 29.06.2013, 07:43
Re: [y_commands] /commands loop.. - by introzen - 29.06.2013, 10:27
Re: [y_commands] /commands loop.. - by IstuntmanI - 29.06.2013, 10:29
Re: [y_commands] /commands loop.. - by introzen - 29.06.2013, 10:41
Re: [y_commands] /commands loop.. - by introzen - 30.06.2013, 16:01
Re: [y_commands] /commands loop.. - by introzen - 30.06.2013, 16:14
Re: [y_commands] /commands loop.. - by introzen - 30.06.2013, 16:36
Re: [y_commands] /commands loop.. - by introzen - 30.06.2013, 16:44
Re: [y_commands] /commands loop.. - by introzen - 30.06.2013, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)