command: /search
#4

pawn Код:
new Food[128] = {"Carrot Banana Tomatto McDonald"};

new a = strfind(inputtext,Food);
if(a != -1)
{
    new string[10],b = strfind(" ",Food,false,a);
    strmid(string,Food,a,b-1);
}
Reply


Messages In This Thread
command: /search - by budelis - 08.09.2011, 12:16
Re: command: /search - by THE_KNOWN - 08.09.2011, 12:19
Re: command: /search - by Kaperstone - 08.09.2011, 12:41
Re: command: /search - by =WoR=Varth - 08.09.2011, 15:16
Re: command: /search - by budelis - 08.09.2011, 15:32
Re: command: /search - by budelis - 08.09.2011, 15:38
Re: command: /search - by =WoR=Varth - 08.09.2011, 15:40
Re: command: /search - by budelis - 08.09.2011, 18:06

Forum Jump:


Users browsing this thread: 4 Guest(s)