Noire Posted July 6, 2022 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
0 buraquera Posted July 9, 2022 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
0 buraquera Posted July 7, 2022 Posted July 7, 2022 add this to line 143 set .5times++; if (.5times >=5) disablenpc(); Quote
0 Noire Posted July 8, 2022 Author Posted July 8, 2022 11 hours ago, buraquera said: add this to line 143 set .5times++; if (.5times >=5) disablenpc(); having an error ! Quote
0 Noire Posted July 10, 2022 Author 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
0 buraquera Posted July 10, 2022 Posted July 10, 2022 add something like this after the last dialog if (.5times >=5){ clear; mes "Sorry someone already has won"; close; } Quote
0 Noire Posted July 12, 2022 Author 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
Question
Noire
Can you help me make this script have 1 to 10 winners then the NPC will be disabled after that.
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.