strfind
#1

pawn Код:
new name[24];
GetPlayerName(playerid,name,sizeof name);
if(strfind(name,"Jacket",true) != -1)
{
   SendClientMessage(playerid,0xFFFFCCFF,"Welcome back Boss.");
}
Ok , but if my name is Jacketx , i recive this message too why ?

All names started with Jacket recive that message, why?
Reply


Messages In This Thread
strfind - by UsaBoy91 - 20.07.2009, 10:16
Re: strfind - by M4S7ERMIND - 20.07.2009, 10:19
Re: strfind - by Pawno_Master - 20.07.2009, 10:19
Re: strfind - by UsaBoy91 - 20.07.2009, 10:22
Re: strfind - by MadeMan - 20.07.2009, 10:26
Re: strfind - by James_Alex - 20.07.2009, 11:35

Forum Jump:


Users browsing this thread: 1 Guest(s)