• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Gambler NPC

Foereaper

Founder
Converted yet another old script I had laying around for Eluna. This will create a gambler NPC, where you can gamble all your hard earned tokens for a chance of leaving the mall with a bigger wallet than you came in with ;)



rqv7CMI.jpg
 
Last edited:

mibu

Enthusiast
Doesnt work on my Eluna mangos :(( ..it's just visual..no currency actual change..command for money is .mod money (sum) or (-sum) if u can mod it for me..
 
Last edited:

nvrsbr

Enthusiast
Pastebin to gold version

full credits to foe for code obviously, just modified it abit

It does not work.
I bet 200g it said I Won 400g

Did not get the 400g

Code:
  scripts\Gambler NPC .lua:20: attempt to call method 'GiveCoinage' (a nil
 value)
        scripts\Gambler NPC .lua:23: attempt to call method 'RemoveCoinage' (a n
il value)
        scripts\Gambler NPC .lua:20: attempt to call method 'GiveCoinage' (a nil
 value)
        scripts\Gambler NPC .lua:23: attempt to call method 'RemoveCoinage' (a n
il value)
        scripts\Gambler NPC .lua:23: attempt to call method 'RemoveCoinage' (a n
il value)
        scripts\Gambler NPC .lua:20: attempt to call method 'GiveCoinage' (a nil
 value)
 
Last edited:

Foereaper

Founder
RemoveCoinage and GiveCoinage was changed early in development into a single method, ModifyMoney. Fixed here.

 
Top