Thread: Help
View Single Post
  #5  
Old 02-19-2006, 03:30 AM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by Chicken_l33t
//#CLIENTSIDE
if (created){
timeout = .05;
}

if (timeout){
if (mousex in |playercraphere,playercraphere| && mousey in|playercraphere,playercraphere|){
setplayerprop #c,#a; // #c is the players chat and #a is account
}
timeout = .05;
}

// You have to have timeout = .05; inside the timeout itself for it to loop.

Ohh, and if this is to test another player and not yourself you're best using testplayer(x,y);
Stop giving bad advice...
That will still work but it is bad scripting.

Anyway, you need to iterate through 'playerscount' and check the mousex/y in players[index].x/y. Then display the account using #a(index).
__________________
Liek omigosh.

Reply With Quote