Hello, its my first NPC on CoEmu its low code.
OK open Handlers/NpcTalk.cs
search for:
[Only registered and activated users can see links. Click Here To Register...]
If u need NPC give stuff +12 fallow thread:
OK open Handlers/NpcTalk.cs
search for:
and above that add:Quote:
case 104809
NPC Done! Go to your database and add npc like:Quote:
case 211092: //Welcomer
{
if(LinkBack == 0)
{
Text("Hey " + CSocket.Client.Name, CSocket);
Text(" Welcome on world of YOURSERVERNAME.", CSocket);
Link("Free items?", 1, CSocket);
Link("What is YOURSERVERNAME", 2, CSocket);
Link("GW?", 3, CSocket);
Link("Nevermind!", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
{
Text("If u need free items, search on TwinCity NPC.", CSocket);
Text("The npc give all stuff +12 sock 2 lvl 130.", CSocket);
Text("Good luck!", CSocket);
Link("Other.", 0, CSocket);
Link("Thanks.", 255, CSocket);
Face(30, CSocket); End(CSocket);
}
}
else if (LinkBack == 2)
{
{
Text("YOURSERVERNAME is the leveling server. Now its PVP will soon i coded all script and reset all chars.", CSocket);
Text(" WARNING: ITS ONLY PVP SERVER [TEST]", CSocket);
Text(" All characters would be deleted soon!", CSocket);
Link("Other.", 0, CSocket);
Link("Ok, thanks!.", 255, CSocket);
Face(30, CSocket); End(CSocket);
}
}
else if (LinkBack == 3)
{
{
Text("GW is working.", CSocket);
Text(" Please wait and play game.", CSocket);
Link("Other.", 0, CSocket);
Link("Ok, thanks!.", 255, CSocket);
Face(30, CSocket); End(CSocket);
}
}
break;
}
[Only registered and activated users can see links. Click Here To Register...]
If u need NPC give stuff +12 fallow thread:
If helped You? Or You liked my post? Press THANKS :mofo:Quote:
[Only registered and activated users can see links. Click Here To Register...]