|
Registered User
|
Join Date: Jul 2006
Posts: 1,241
|
|
Oh god, first of all use GS2. Second your showtext and showimg index's should be atleast 200 to prevent other players from seeing it.
PHP Code:
//#CLIENTSIDE
function onCreated() onTimeout();
function onPlayerEnters() onTimeout();
function onTimeout(){
showtext(200, 32, 64, "Arial", "b", format("Health: %f/%f", clientr.player_hp, clientr.player_maxhp));
showtext(201, 32, 80, "Arial", "b", format("Mana: %f/%f", clientr.player_mp, clientr.player_maxmp));
showtext(202, 32, 96, "Arial", "b", format("Type: %s", clientr.player_type));
showimg(204, "toguilightest.png", 16, 16);
showimg(205, player.headimg, 32, 32);
showtext(206, 72, 48, "Arial", "bi", player.nick.substring(0, 13) @ this.nick);
showtext(207, (16*17+8), 48, "Arial", "br", format("Talik: %i", player.rupees));
showtext(208, (16*17+8), 64, "Arial", "br", "Shield: " @ playershieldpower);
showtext(209, (16*17+8,80), "Arial", "br", "Weapons: " @ this.enabweap);
showtext(210, (16*17+8,96), "Arial", "br", "Lvl. Type: " @ this.zonetype);
for (i = 199; i < 250; i++)
changeimgzoom(i, 0.6);
for (j = 199; j < 250; j++)
changeimgvis(i, 4);
changeimgpart(205, 0, 64, 32, 32);
changeimgcolors(200, 1, 0, 0, 1);
changeimgcolors(201, 0, 1, 1, 1);
changeimgcolors(206, 0, 1, 0, 1);
if (weaponsenabled) this.enabweap = "Enabled";
else this.enabweap = "Disabled";
if (level.nopkzone) this.zonetype = "No PKing";
else {
if (level.issparringzone) this.zonetype = "Sparring";
else this.zonetype = "PKing";
}
showstats(1024 + 256);
setTimer(.05);
}
Used the for() because I was lazy  |
Last edited by Rapidwolve; 04-08-2007 at 06:12 PM..
|