1
Snippets / [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);
}
}
}