How to...
#6

you can use SSCANF width ZCMD to get the player's ID's.

pawn Код:
CMD:mycommand(playerid, params[])
{
    new interator;
    if(ssacnf(params,"i", interator))
        return SendClientMessage(playerid, -1,"/mycommand <number>");
       
    new
        string[100];
    format(string, sizeof(string),"Yoour choose the number %d =)", interator);
    SendClientMessage(playerid, -1, string);
    return 1;
}
Reply


Messages In This Thread
How to... - by iLcke - 05.04.2012, 02:48
Re: How to... - by ViniBorn - 05.04.2012, 02:53
Re: How to... - by iLcke - 05.04.2012, 03:00
Re: How to... - by Luis- - 05.04.2012, 03:02
Re: How to... - by iLcke - 05.04.2012, 03:03
Re: How to... - by DarkScripter - 05.04.2012, 03:56

Forum Jump:


Users browsing this thread: 1 Guest(s)