• 0
Mr Sin

[SOLVED] Sloth Machine

Question

Spoiler

class CfgSlothMachine
{
    spinCost = 100;
    Jackpot = 10100;
    
    chances[] = 
    {
        {85, ""},                     // 85% = Nothing
        {95, "Level1"},             // 10% = 101pt
        {96, "Level2"},             // 1% = 1000pt
        {97, "Level3"},             // 1% = 2000pt
        {98, "Level4"},             // 1% = 6000pt
        {99, "Level5"},                // 1% = 8000pt
        {100, "Jackpot"}             // 1% = Jackpot
    };

    class Prizes 
    {
        class Level1
        {
            symbol = "\exile_assets\texture\item\Exile_Item_ToiletPaper.paa";
            prize = 101;
        };

        class Level2
        {
            symbol = "\exile_assets\texture\item\Exile_Item_CockONut.paa";
            prize = 1000;
        };

        class Level3
        {
            symbol = "\exile_assets\texture\item\Exile_Item_Beer.paa";
            prize = 2000;
        };

        class Level4
        {
            symbol = "\exile_assets\texture\item\Exile_Item_Knife.paa";
            prize = 6000;
        };

        class Level5
        {
            symbol = "\exile_assets\texture\item\Exile_Item_Safe.paa";
            prize = 8000;
        };
        
        class Jackpot
        {
            symbol = "\exile_assets\texture\item\Exile_Item_XmasPresent.paa";
        };
    };
};

Any reason it didn't payout correctly?

Share this post


Link to post
Share on other sites

5 answers to this question

  • 1

I AM LMFAO!!
When if shows "Failed!" you actually lost and didn't get one of the prizes and it picks three random images to show you.  It just happened to pick 3 of the same items.  Whoops. 

I'll see about putting a check in to make sure the three random images it chooses aren't the same. :P

1 person likes this

Share this post


Link to post
Share on other sites
  • 1

We have closed this thread and marked it as solved.

Share this post


Link to post
Share on other sites
Advertisement
  • 0

Its configurable on the server so im guessing maybe 3x knifes have been removed from winning or there is a error in the code. I have won fine with that before.

Share this post


Link to post
Share on other sites
  • 0
44 minutes ago, Mr Health And Safety said:

Its configurable on the server so im guessing maybe 3x knifes have been removed from winning or there is a error in the code. I have won fine with that before.

Click the spoiler below vid :)

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.