![]() |
how can i fix this
Ok i wanted to make something like a craft system bud it lags as hell because of a part in da script and its not my computer bud the script this is the script plz fix it
if (playerenters) {message Free Table;hide;} if (actionmining) {this.User=#a;this.Mine=this.Mine+1; message #v(this.Mine)% by #v(this.User);sleep 0;} if (this.User=#a) { if (this.Mine=100) {setimg fossil.gif;this.Mine=this.Mine-100;toweapons Rock;hide;destroy;message Free Table;}} |
Here you go ;)
Tested, Works NPC Code: Dunno, Havent tested (makes it so it does not say free table unless somoene is done crafting ... i think) NPC Code: |
thanks for fixing owner system
bud it still lags if i use the hammer will it take like 10 sec before the precent i giong up by 1
|
maybe some of the setimg s are lagging your computer, try check all your options and make sure there is nothing that could interfere, because if graal has to look for te img, it could lag it down fast enough the make the percentage slower appearing.
|
nope
i think its not that also could someone of you remake it a little plzz
caus i cant i really dont know what the bug is:( |
Your hammer script is probably bugged.. or u dont have the fossil.gif img :(
|
:(
:( well here is my hammer script check it for bugs plzzz
// NPC made by Discounter if (playerenters) { message Hammer; blockagain; } if (playertouchsme) { toweapons Hammer; } if (weaponfired) { setani jaxe,hammergold.png;freezeplayer 0.5; sleep 3; triggeraction playerx+1.5+vecx(playerdir)*2, playery+2+vecy(playerdir)*2,mining,#v(axepower); } |
For rocks or anything you want to have triggeraction, use setshape.... So it will work even w/o the gif...
setshape 1,32,32; will define and NPC with the width and hiegh of 32 px despite its gif (if any) |
Re: :(
Quote:
|
mmmm
First off all kumada i didnt cliam the owner ship it was releast by stefan knorr and falcor would this stop the lag because if so explain it to me why
|
1 Attachment(s)
here is the level
|
Re: mmmm
Quote:
Quote:
|
ow
o sorry your right bud plz get back to the problem
|
Re: Re: :(
Quote:
Dont be so quick to say that someone stole something. People use resources. |
Re: Re: :(
Quote:
Just because two scripts look the same doesn't mean jack **** you stupid ****. Just because we used triggeraction and vecx and vecy doesn't mean we stole it. I know I didn't and I have a few people who can vouche for that because I was gone before triggeraction was even put into the commands. So you need to shut the **** up. |
| All times are GMT +2. The time now is 02:27 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.