01.11.2015, 01:07
It has a lot of uses, like:
pawn Код:
CMD:command(playerid, cmd[], cmdtext[])
{
new lookupid;
sscanf(cmdtext, "?<CELLMIN_ON_MATCHES=1>U(-1)", lookupid);
if(lookupid == -1)
{
return 1;
}
else if(lookupid == cellmin)
{
return 1;
}
else if(lookupid == INVALID_PLAYER_ID)
{
return 1;
}
else
{
new amount;
if(sscanf(cmdtext, "{i}i", amount)) return 1;
}
return 1;
}