Thread: % done
View Single Post
  #10  
Old 10-13-2001, 11:13 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by ownerofbabylon
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?
I am not the expert but i think 'triggeraction' may help you out greatly ...
Reply With Quote