Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

notpiratecantflyundefined

notpiratecantfly

@notpiratecantfly
About
Posts
2
Topics
1
Groups
0
Followers
5
Following
4

Posts

Recent Best Controversial

  • How to detect a finished Easter Egg on BO2 Origins?
    notpiratecantflyundefined notpiratecantfly

    Hadi77KSA oh my god. thank you so much.


  • How to detect a finished Easter Egg on BO2 Origins?
    notpiratecantflyundefined notpiratecantfly

    I'm trying to make a plugin that pays players once the easter egg is completed. I've got it mostly finished but i am unsure of how to detect when the EE is done.

    I thought maybe:

    easterEggComplete()
    {
        self endon("disconnect");
        level endon("end_game");
    
        path = "bank/" + self getGuid() + ".txt";
    
        if (fileExists(path))
        {
            level waittill("ee_complete")
            player.pers["bank"] = int(player.pers["bank"]) + 250000;
            player updateBankValue(player.pers["bank"]);
            player tell("^2$^7" + valueToString(250000) + " deposited for finishing EE");
        }
    }
    

    Would work. I think im using waittill on the wrong dvar, or maybe that dvar doesn't even exist?

    Any help would be great.

  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate