chat help
#1

ok so im building an npc that respond to specific messages for instance:
if (strfind(text, "hello") != -1)
{
SetTimerEx("greeting", 1000, false, "d", playerid);
}

though the problem is if the message includes the word hello it turns on the timer i need it to be only for the specific message hello so if i type something like "hello so and so" you wont see any thing
Reply


Messages In This Thread
chat help - by farris - 25.11.2010, 13:57
Re: chat help - by farris - 25.11.2010, 18:22
Re: chat help - by Fj0rtizFredde - 25.11.2010, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)