Help with NPC
#3

Ok it worked thanks.
And how i make so when i say hello sir to the npc,
He responds with some text? i tried this but it gives error:

public OnPlayerText(playerid, text[])
{
if (strfind(text, "Hello officer,?") != -1)
{
new string[80], name[MAX_PLAYER_NAME];
format(string, sizeof(string), "Hello.");
SendChat(string);
return 0;
}
Reply


Messages In This Thread
Help with NPC - by nielsbon1 - 22.07.2010, 14:13
Re: Help with NPC - by xfelipex - 22.07.2010, 14:22
Re: Help with NPC - by nielsbon1 - 22.07.2010, 15:31
Re: Help with NPC - by nielsbon1 - 22.07.2010, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)