STRTOK issue
#8

Still, you can use ReturnUser..

pawn Код:
if(!strcmp(cmd,"/kick",true))
{
  new cmd[128];
  cmd=strtok(cmdtext,idx);
  if(!strlen(cmd))
    return SendClientMessage(playerid,color,"usage: /kick [id]");
  new id=ReturnUser(cmd);
  if(!IsPlayerConnected(id))
    return SendClientMessage(playerid,color,"invalid playerid");
  return Kick(id);
}
Reply


Messages In This Thread
STRTOK issue - by Paladin - 21.03.2009, 17:15
Re: STRTOK issue - by [LorD]bAr[Sp] - 21.03.2009, 17:34
Re: STRTOK issue - by Paladin - 22.03.2009, 11:26
Re: STRTOK issue - by MenaceX^ - 22.03.2009, 11:35
Re: STRTOK issue - by MenaceX^ - 22.03.2009, 11:50
Re: STRTOK issue - by MenaceX^ - 22.03.2009, 11:57
Re: STRTOK issue - by Paladin - 22.03.2009, 12:52
Re: STRTOK issue - by MenaceX^ - 22.03.2009, 12:55

Forum Jump:


Users browsing this thread: 1 Guest(s)