Help with forbidden characters [+1]
#6

Quote:
Originally Posted by PrawkC
Посмотреть сообщение
You probably didn't use it correctly, look it up on the wiki.. it shows you an example and it WILL work for what you're doing.
Quote:
Originally Posted by AndreT
Посмотреть сообщение
strfind returns -1 when the needle is not found in the haystack.

An example of this would be:
pawn Код:
if(strfind(params, "@", true) == -1)
{
    // No @-sign!
}
Thanks a lot. My mistake was that i put 'playerid' instead of 'params'.
Reply


Messages In This Thread
Help with forbidden characters [+1] - by CaRa - 10.10.2012, 19:21
Re: Help with forbidden characters [+1] - by PrawkC - 10.10.2012, 19:29
Re: Help with forbidden characters [+1] - by CaRa - 10.10.2012, 19:31
Re: Help with forbidden characters [+1] - by PrawkC - 10.10.2012, 19:35
Re: Help with forbidden characters [+1] - by AndreT - 10.10.2012, 19:36
Re: Help with forbidden characters [+1] - by CaRa - 10.10.2012, 19:47
Re: Help with forbidden characters [+1] - by AndreT - 10.10.2012, 19:56
Re: Help with forbidden characters [+1] - by CaRa - 10.10.2012, 20:12

Forum Jump:


Users browsing this thread: 3 Guest(s)