konidias |
02-14-2002 02:28 AM |
Re: example script
Quote:
Originally posted by Sym2001
//Author: Symbonia
//Dat: Tues, Feb 12, 2002
//Script: Player Invisable (P2P Only)
//Version: 1.0a
//#CLIENTSIDE
if (weaponfired) {
if (!this.on==1) {
this.on = 1; }
else {
this.on = 0; }
timeout = 0.05;
}
if (timeout && this.on=1) {
this.pos = {playerx,playery;}
showstats ;
showimg i,yourimage.gif,this.pos[0],this.pos[1];
}
else if (this.on==0) {
showstats 1+2+4+8+16+32+64+512+1024;
}
that should work, didnt test it though. But just play around with it. I think it disables the walking sound aswell, or you could just make a wav file that has nothing in it. And make it so it plays that with keydown(0) etc etc etc.
|
Pardon the stupid question... but wouldn't that only display clientside? Defeating the whole purpose?
|