10.12.2012, 14:42
You can use sscanf to check if they entered an id.
pawn Код:
if(sscanf(params, "u", id))
{
//They didn't enter an id, use loop or something to find nearest player
}
else
{
//They entered an id
}