Noire Posted July 6, 2022 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 1 Joined: 06/26/13 Last Seen: March 24 Share Posted July 6, 2022 (edited) Can you help me make this script have 1 to 10 winners then the NPC will be disabled after that. Edited July 12, 2022 by Noire Quote Link to comment Share on other sites More sharing options...
0 buraquera Posted July 9, 2022 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 68 Reputation: 8 Joined: 05/12/20 Last Seen: 6 hours ago Share Posted July 9, 2022 (edited) sorry, there is no need for "set", use: .5times++; if (.5times >=5) disablenpc(); and line 144, not 143. After "set winRPS" xD Edited July 9, 2022 by buraquera Quote Link to comment Share on other sites More sharing options...
0 buraquera Posted July 7, 2022 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 68 Reputation: 8 Joined: 05/12/20 Last Seen: 6 hours ago Share Posted July 7, 2022 add this to line 143 set .5times++; if (.5times >=5) disablenpc(); Quote Link to comment Share on other sites More sharing options...
0 Noire Posted July 8, 2022 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 1 Joined: 06/26/13 Last Seen: March 24 Author Share Posted July 8, 2022 11 hours ago, buraquera said: add this to line 143 set .5times++; if (.5times >=5) disablenpc(); having an error ! Quote Link to comment Share on other sites More sharing options...
0 Noire Posted July 10, 2022 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 1 Joined: 06/26/13 Last Seen: March 24 Author Share Posted July 10, 2022 14 hours ago, buraquera said: sorry, there is no need for "set", use: .5times++; if (.5times >=5) disablenpc(); and line 144, not 143. After "set winRPS" xD it works, but can i ask for somethig else? there is a bug when Player : A just stay on dialogue box , and Player B wins the last slot player A still can able to access the npc even is was already disabled how can i prevent this? Quote Link to comment Share on other sites More sharing options...
0 buraquera Posted July 10, 2022 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 68 Reputation: 8 Joined: 05/12/20 Last Seen: 6 hours ago Share Posted July 10, 2022 add something like this after the last dialog if (.5times >=5){ clear; mes "Sorry someone already has won"; close; } Quote Link to comment Share on other sites More sharing options...
0 Noire Posted July 12, 2022 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 1 Joined: 06/26/13 Last Seen: March 24 Author Share Posted July 12, 2022 On 7/10/2022 at 11:55 PM, buraquera said: add something like this after the last dialog if (.5times >=5){ clear; mes "Sorry someone already has won"; close; } all done now thank u! Quote Link to comment Share on other sites More sharing options...
Question
Noire
Can you help me make this script have 1 to 10 winners then the NPC will be disabled after that.
Link to comment
Share on other sites
6 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.