Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-04-05 17:50:25, last edited by Zumza (2015-04-05 18:11:41)

Zumza
Member
From: root
Joined: 2015-02-17
Posts: 4,645

[Question] How to Zombify a user?

So i found this in the client source code:

      public function useSelectedPotion(potion:int) : void
      {
         if(potion > 0)
         {
            this.connection.send(Bl.data.m + "p",potion);
            this.potionselector.clearSelected();
            this.potionbtn.setSelectedPotion(0);
            this.potionbtn.btn_use.visible = false;
            this.potionbtn.gx_loader.visible = true;
         }
      }

But this only drinks, the zombie potion. I don't want to use another one, i want to use the one i obtain.
~Thanks


Everybody edits, but some edit more than others

Offline

#2 2015-04-05 18:14:23, last edited by Processor (2015-04-05 18:15:22)

Processor
Member
Joined: 2015-02-15
Posts: 2,246

Re: [Question] How to Zombify a user?

Message.Create("touch", UserId, PotionId);

Now please don't go around giving everyone zombies. //forums.everybodyedits.com/img/smilies/wink


I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.

Offline

Wooted by: (2)

#3 2015-04-05 19:49:37

Zumza
Member
From: root
Joined: 2015-02-17
Posts: 4,645

Re: [Question] How to Zombify a user?

Thanks!


Everybody edits, but some edit more than others

Offline

Zumza1428259777491304

Board footer

Powered by FluxBB

[ Started around 1714776613.0144 - Generated in 0.050 seconds, 11 queries executed - Memory usage: 1.36 MiB (Peak: 1.45 MiB) ]