24.04.2012, 11:22
Hello everyone, i have created a npc but i want make him talk.
How to proceed ?
How to proceed ?
new string[128], npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, MAX_PLAYER_NAME);
if(!strcmp(npcpname, "YourNPCName", true))
{
format(string, 128, "%s: Your word here!", npcname);
SendClientMessageToAll(-1, string);
}