
10-27-2009, 05:13 AM
|
The Cat
|
 |
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
|
|
Add a parameter to drawNicknames which is the player object of the nickname you want to show, then inside of the timeout, test the players in the level and check if the mousex and y are in the player's x and y, if it is, then drawNicknames(pl). Then inside of drawNicknames(pl), inside of the for loop, add a check for the player object, like if (temp.p == pl).
Inside of drawNicknames you could be removing extra images that aren't used by adding
hideimg(200, 300); at the top of the function or so. |
__________________
“Shoot for the moon. Even if you miss, you'll land among the stars.”
|
|
|