
10-13-2001, 09:51 PM
|
|
Lord Helmut
|
 |
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
|
|
|
so for lets say mining or something:
if(playerenters){
setstring percentdone,0;
if(playertouchsme&&isweapon(pick)){
percentdone++;
message This rock is percentdone Percent Done;
}
if(percentdone==100){
hide;
playerruppes+=1;
sleep 30;
show;
}
So that would set the string percentdone to 0 when they enter, when the fire the pick on the NPC it adds 1 to percent done and when it reaches 100 it gives them 1 gralat and hides the rock for 30 seconds? |
__________________
Warrior of Light
WWW.BABYLONSERVER.COM
|
|
|
|