
10-23-2001, 06:20 AM
|
|
Ebil Cloud = l337 *kupo*
|
 |
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
|
|
Quote:
Originally posted by TDO2000
if (playertouchsme) {
toweapons Food Bar;
timeout=.05;
}
if (created && isweapon) {
set foodbargodown;
foodpower = this.foodenergy
timeout=.05;
}
if(weaponfired){
if(this.foodenergy=>80){
setani bloated,;
}
if(this.foodenergy<=79 && this.foodenergy >=60){
setani fine,;
}
if (this.foodenergy=<59 && this.foodenergy>=40) {
setani nothungry,;
}
if (this.foodenergy=< 39 && this.foodenergy>=20) {
setani hungry,;
}
setplayerprop#c, #v(this.foodenergy/100*100)%;
freezeplayer .6;
}
if(timeout){
if(this.foodenergy==100){
this.foodenergy++;
}
if (this.foodenergy=<0) {
disableweapons
}
else {
enableweapons
}
timeout=.1;
}
should work, not tested yet =)
|
Sorry but it doesn't =( |
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
|
|
|
|