
05-28-2008, 09:14 PM
|
|
Coder
|
 |
Join Date: Jan 2008
Location: -78.464422, 106.837328
Posts: 449
|
|
Quote:
HTML Code:
function onMouseDown(temp.click) {
if (!player.guild.starts("Events Team")) return false;
if (click != "left") return false;
temp.playera = players[testplayer(mousex, mousey)];
if (playera.account != null)
player.chat = "selected" SPC playera.account;
}
pretty cool and simple code, thought i'd share !!!  
just click a player with an "events team" tag, and it'll find out who they are! good for event thingys 
|
Simplicity. I like it. |
__________________
- Iᴀɴ Zɪᴍᴍᴇʀᴍᴀɴ
|
|
|
|