GiveNameSpace
#4

So, do you want to check if there is a space in the player's name?

If yes, then you can use strfind:

pawn Код:
GiveNameSpace(name[])
{
   if(strfind(name, ' ') == -1)
   {
     return 0;
   }
   return 1;
}
That should do the trick.
Reply


Messages In This Thread
GiveNameSpace - by TouR - 24.06.2010, 13:24
Re: GiveNameSpace - by Hiddos - 24.06.2010, 13:27
Re: GiveNameSpace - by ReVo_ - 24.06.2010, 13:30
Re: GiveNameSpace - by LTomi - 24.06.2010, 14:04
Re: GiveNameSpace - by Niixie - 24.06.2010, 14:13
Re: GiveNameSpace - by ipsBruno - 24.06.2010, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)