From eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 14 Dec 2018 02:34:47 -0200 Subject: New Hercules Syntax for getnpcid(). sed -i 's/getnpcid(0, /getnpcid(/g' */*.txt --- npc/012-1/bot.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/012-1/bot.txt') diff --git a/npc/012-1/bot.txt b/npc/012-1/bot.txt index 8423567f4..8f471bb34 100644 --- a/npc/012-1/bot.txt +++ b/npc/012-1/bot.txt @@ -70,7 +70,7 @@ L_Close: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, CenturionHelmet); setunitdata(.@npcId, UDT_HEADMIDDLE, SaviorArmor); setunitdata(.@npcId, UDT_HEADBOTTOM, TulimsharGuardBoots); -- cgit v1.2.3-60-g2f50