Subzero Posted February 24, 2018 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 07/25/16 Last Seen: August 5, 2021 Share Posted February 24, 2018 hello its it posibble to make player need killed 5 poring before using this npc here my script please help https://pastebin.com/DEsYVgik Quote Link to comment Share on other sites More sharing options...
0 pajodex Posted February 24, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.03 Content Count: 439 Reputation: 173 Joined: 12/12/17 Last Seen: April 14 Share Posted February 24, 2018 (edited) 1 hour ago, Subzero said: hello its it posibble to make player need killed 5 poring before using this npc here my script please help https://pastebin.com/DEsYVgik // Add this on line 41. If(poringkill != 5) { mes "Sorry, you have to kill 5 porings before using my services"; close; } // Add this before OnInit line at the bottom part OnNPCKillEvent: if(poringkill == 5) end; if ( getmonsterinfo( killedrid, 1002 )) { // 1002 = poring ID poringkill++; dispbottom "You have killed "+poringkill+" Porings."; end; } Edited February 24, 2018 by pajodex Quote Link to comment Share on other sites More sharing options...
0 Subzero Posted February 24, 2018 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 60 Reputation: 0 Joined: 07/25/16 Last Seen: August 5, 2021 Author Share Posted February 24, 2018 5 hours ago, pajodex said: // Add this on line 41. If(poringkill != 5) { mes "Sorry, you have to kill 5 porings before using my services"; close; } // Add this before OnInit line at the bottom part OnNPCKillEvent: if(poringkill == 5) end; if ( getmonsterinfo( killedrid, 1002 )) { // 1002 = poring ID poringkill++; dispbottom "You have killed "+poringkill+" Porings."; end; } thankss Quote Link to comment Share on other sites More sharing options...
Question
Subzero
hello its it posibble to make player need killed 5 poring before using this npc
here my script please help
https://pastebin.com/DEsYVgik
Link to comment
Share on other sites
2 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.