25.11.2010, 13:57
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
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