05.04.2012, 03:56
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;
}