PDA

View Full Version : Showing Stats


Mustang1988
04-03-2001, 07:07 AM
How do you make it so when players say 'showshieldpower' or 'showswordpower' it shows them? Or even with that 'showshield' (gif) or 'showsword'? pick one =p

Tyhm
04-03-2001, 07:28 AM
if(playerchats){
if(strequals(showshieldpwr)) setplayerprop #c,#v(playershieldpower);
else if(strequals(showswordpwr)) setplayerprop #c,#v(playerswordpower);
else if(strequals(showshield)) setplayerprop #c,#2(0);
else if(strequals(showsword)) setplayerprop #c,#1(0);
}

Mustang1988
04-03-2001, 08:26 AM
o! lol! thx!
+ is there a way to change a players ap? Online playerap=##; doesnt work. It changes, then switches back, you can only change it with RC or wait.

And is there an easier way to heal a player without changing it for a second...?

if (playertouchsme) {
playerap+=50;
playerhearts+=3;
playerap-=50;
}

Tyhm
04-03-2001, 09:27 AM
Dun think so.

grim_squeaker_x
04-03-2001, 06:42 PM
Well you already posted an effective way of healing people with a PK tag yourself. Although you might be able to create a temporary place with higher AP for PKers with the following script (Not tested and ertainly not sure if it works):
if (playerenters||timeout) {
for (this.i=0;this.i<playerscount;this.i++) {
if (players[this.i].ap<=40) {
players[this.i].ap=41;
}
}
timeout=0.05;
}
But as I said I have no idea if it will work online.