![]() |
help !?!
k, i'm making a mining script, iahev it all done but of course to make more stones the variables have to change for each one or u mine one stone untill it's nearly finished and it'll bring the others down too, so will this work ?
stonepower = strtofloat(#s(this.stonepower)); so when ever i put this. infront although the same will it only effect this npc and not the others ? |
Yeah!! umm yeah... errr... *runs*
|
use this. variables like this.stonepower
|
if (actionMined) {
this.stone-=strtofloat(#p(0)); } if (this.stone<=0) { givegem(); } function givegem() { //do this yourself you lazy bum } |
Quote:
Haha |
lazy bum ?
lmao I've already made the script I just wanted to make sure that the this. command actually does that because I have had problems with all the rocks going dopwn at the same time ^_^ |
All times are GMT +2. The time now is 12:43 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.