Help me please, tutorial!
#9

Then make one >.> geez

pawn Код:
ReturnUser(name[])
{
  new string[MAX_PLAYER_NAME];
  for(new playerid; playerid < MAX_PLAYERS; playerid++)
  {
    GetPlayerName(playerid,string,sizeof(string));
    if(strfind(string,name,true)>-1)return playerid;
  }
  return INVALID_PLAYER_ID;
}
Reply


Messages In This Thread
Help me please, tutorial! - by user226 - 27.07.2009, 01:23
Re: Help me please, tutorial! - by user226 - 27.07.2009, 13:24
Re: Help me please, tutorial! - by RyDeR` - 27.07.2009, 13:25
Re: Help me please, tutorial! - by Burridge - 27.07.2009, 13:27
Re: Help me please, tutorial! - by user226 - 27.07.2009, 13:32
Re: Help me please, tutorial! - by SpiderPork - 27.07.2009, 13:34
Re: Help me please, tutorial! - by paytas - 27.07.2009, 13:37
Re: Help me please, tutorial! - by user226 - 27.07.2009, 13:47
Re: Help me please, tutorial! - by Joe Staff - 27.07.2009, 15:35

Forum Jump:


Users browsing this thread: 3 Guest(s)