NPC doesn't answer anymore
#1

Hi,

since yesterday i have a problem. My NPC doenst answer if i write for example "Hi Npc".
I think this is the problem:

public OnPlayerText(playerid, text[])
{
new strong[700];
format(strong, sizeof(strong), "(%d) %s:{FFFFFF} %s",playerid, SpielerName(playerid), text);
SendClientMessageToAll(GetPlayerColor(playerid), strong);
return 0;
}

The npc sends his text with SendChat.
I think SendChat doesnt work if OnPlayerText returns 0.
What can i do?

-Tim
Reply


Messages In This Thread
NPC doesn't answer anymore - by Timmeyable - 28.09.2012, 16:15
Re: NPC doesn't answer anymore - by xMCx - 28.09.2012, 16:45
AW: NPC doesn't answer anymore - by Timmeyable - 28.09.2012, 16:52
AW: NPC doesn't answer anymore - by Timmeyable - 29.09.2012, 06:46

Forum Jump:


Users browsing this thread: 1 Guest(s)