Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-28-2008, 08:24 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
mouse clicky player

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
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.