Apparently when I leave the following part out it works: (Atleast I guess that's where the problem has to be. The code worked before I added anything for the item check)
if(countitem(???????) || Zeny < 10000000) { ///?????? durch passport ID ersetzen
mes "Not enough requirements";
close;
}
Question
Brawly
Hello guys,
I'm quite new to all of this and just can't figure out what makes this npc not work.
It's supposed to change your Character's name if you have the item Passport and 10m zeny in your inventory.
The ????? in line 16 & 36 have yet to be changed to the Passports ID. (I did however test the npc with a legit id)
The Npc shows up ingame but clicking on it won't do anything.
The code can be found here:
http://pastebin.com/dQMwixDS
Apparently when I leave the following part out it works: (Atleast I guess that's where the problem has to be. The code worked before I added anything for the item check)
Thank you in advance!
Edited by BrawlyLink to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.