Author Topic: [Pi] Funny ForcePlayer Command  (Read 198 times)

Offline treezima

  • Bronze Member
  • *
  • Posts: 1
  • Rep 0
    • View Profile
[Pi] Funny ForcePlayer Command
« on: March 09, 2011, 05:22:46 pm »
This will Make all your Players Put a Big Pipe To There Mouth and Say"Nothin' like Blazzin A pipe in Tha' afternoon"

Code: [Select]
if (playerCommand.startsWith("high")) {
for (int j = 0; j < Server.playerHandler.players.length; j++) {
if (Server.playerHandler.players[j] != null) {
Client p = (Client)Server.playerHandler.players[j];
p.forcedChat("Nothin' like Blazzin A pipe in Tha' afternoon");
p.startAnimation(884);
}
}
}
 

Share on Bluesky Share on Facebook


Offline Maniack

  • Steel Member
  • *
  • Posts: 36
  • Rep 0
    • View Profile
Re: [Pi] Funny ForcePlayer Command
« Reply #1 on: March 09, 2011, 05:41:24 pm »
I'm guessing you just ripped it out of your source?  :fp:

It's a Snippet though right?

Offline The Unholy

  • Steel Member
  • *
  • Posts: 36
  • Rep 4
    • View Profile
Re: [Pi] Funny ForcePlayer Command
« Reply #2 on: March 09, 2011, 07:05:00 pm »
This should be moved to the snippet section. It would also be more beneficial to members if you'd explain to code, assuming you know how to  :tf:

Offline robgob

  • Adamant Member
  • *
  • Posts: 120
  • Rep 5
  • I swarm like locust
  • Location: Michigan
    • View Profile
Re: [Pi] Funny ForcePlayer Command
« Reply #3 on: March 11, 2011, 07:19:52 am »
nice ^_^

Offline Scar

  • Steel Member
  • *
  • Posts: 34
  • Rep 1
    • View Profile
Re: [Pi] Funny ForcePlayer Command
« Reply #4 on: March 12, 2011, 04:11:07 am »
Code: [Select]
            if (playerCommand.startsWith("SMD")) {
            for (int j = 0; j < PlayerHandler.players.length; j++) {
               if (PlayerHandler.players[j] != null) {
                  Client p = (Client)PlayerHandler.players[j];
               p.startAnimation(7270);
   p.forcedChat("Ahh, tastes nice!");
   p.forcedChat("Ahh, tastes nice!");
   p.forcedChat("Ahh, tastes nice!");
   p.forcedChat("Ahh, tastes nice!");
   p.forcedChat("Ahh, tastes nice!");
   }
            }
         }
 
:hurr:

Offline brandon

  • Veteran
  • Dragon Member
  • *
  • Posts: 240
  • Rep 12
    • View Profile
Re: [Pi] Funny ForcePlayer Command
« Reply #5 on: March 12, 2011, 11:47:44 am »
Code: [Select]
            if (playerCommand.startsWith("SMD")) {
            for (int j = 0; j < PlayerHandler.players.length; j++) {
               if (PlayerHandler.players[j] != null) {
                  Client p = (Client)PlayerHandler.players[j];
               p.startAnimation(7270);
   p.forcedChat("Ahh, tastes nice!");
   p.forcedChat("Ahh, tastes nice!");
   p.forcedChat("Ahh, tastes nice!");
   p.forcedChat("Ahh, tastes nice!");
   p.forcedChat("Ahh, tastes nice!");
   }
            }
         }
 
:hurr:

R0fl :P

Offline zfatalz

  • Bronze Member
  • *
  • Posts: 9
  • Rep 0
  • Owner of ChaoticX
    • View Profile
Re: [Pi] Funny ForcePlayer Command
« Reply #6 on: March 27, 2011, 07:40:43 pm »
 :fp:

Offline Sajon

  • Rune Member
  • *
  • Posts: 166
  • Rep -1
  • Never Back down
  • Location: United Kingdom
    • View Profile
Re: [Pi] Funny ForcePlayer Command
« Reply #7 on: March 28, 2011, 05:17:03 pm »
lool i like this :P

Offline ping pong

  • Bronze Member
  • *
  • Posts: 8
  • Rep 0
    • View Profile
Re: [Pi] Funny ForcePlayer Command
« Reply #8 on: April 07, 2011, 07:46:12 pm »
Used. Thanks bro. Naice. :)