![]() |
Help with name disaply
Okay, so I looked at a couple custom name/attribute displays to display what you want under players. Or make your own custom nick design.
But, problem is - When someone else logs in, it all goes haywire. By myself, it looks fine and such. Now I'm new to all this, so it is probably something stupid like "oh hey add this line here, done". So if someone could help me, would be much appreciated! (fowlplay, i know you're out there! ) So right now, I've just made it so it displays staff on tag, and players HP. It still needs the players nicks added to it with another line of showtext(blahblah, player[a].nick);. But, I wish to find out this problem of why its all going weird when another player logs in! Help would be appreciated PHP Code:
|
PHP Code:
Also only update the attr[4] when needed- (if the players health changes...) |
Let's see...
hideimgs usage: hideimg(start_index, end_index); - Hides images with ID range specified. (Inclusive) I.e: PHP Code:
hideimgs(200, 1000); To hide all your images. The way your script is setup right now you're also drawing over existing image indexes. I.e: a = 0 200 + a = 200 201 + a = 201 a = 1 200 + a = 201 (Overlapping here) 201 + a = 202 You can replace (GS1 Way): PHP Code:
PHP Code:
|
Quote:
And thank you Andrew as well, I appreciate your help. |
I got it all working using the new for( );
What would I do if I want it to display other players' nicks as well. Right now it only shows their own clients nick and HP, not every bodies |
Quote:
|
| All times are GMT +2. The time now is 07:04 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.