Small help
#1

Well, i want to know how to find whether a name have particular characters or not, for example
if the name is : "[OPC]BLAHBLAH", i want to detect whether name have "[OPC]".
Reply
#2

You can do this using strfind:

pawn Код:
if (strfind(name_here, text_you_search_for) != -1)
{
  // found, do something here
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)