I'm looking for a code that when a player speaks to an NPC the NPC will generate a random value (in my case a weekly salary) and the player can either accept that ammount or take their chances at seeing what else they could be offered but after 3 goes they get what the third ammount was regardless
Now I remember this code off a game on byond i think it may of been dragonball z but I cannot find anything like it its mostly lotto sources
ID:165242
![]() Feb 1 2007, 9:52 am
|
|
![]() Feb 1 2007, 11:28 am
|
|
Danny007 wrote:
|
The || i<3 part in your code is wrong; it means the player can never choose Yes. Take it out and it'll be fine.
Lummox JR |
Lummox JR wrote:
The || i<3 part in your code is wrong; it means the player can never choose Yes. Take it out and it'll be fine. ops, I ment || i = 3, since they need to accept the third offer no matter what... but it was just some quick code. |