
09-26-2001, 09:35 AM
|
|
Registered User
|
Join Date: Jul 2001
Location: USA
Posts: 331
|
|
Another Script That will Not work but this is harder..lol
|
first npc
if (playersays(Buy Pick)&& playerrupees>=39){toweapons Pick;playerrupees-=40;
setstring client.pickstrength,#v(strtofloat(#s(client.pickst rength))+100); }
if (weaponfired) {
setstring client.pickstrength,#v(strtofloat(#s(client.pickst rength))-.4)
triggeraction playerx+.5+vecx(playerdir)*2,playery+1+vecy(player dir)*2,mining,;
setani jaxe,pickaxemetal.png;}
OK now the first part works but this does not
if (created){setimg jrock.gif;this.power=100;timeout=.1}
if (timeout){
if (actionmining) {
this.power -= 5;
if (this.power<=0) {
setstring client.playeriron,#v(strtofloat(#s(client.playerir on))+1);
destroy;}}timeout=.1}
Should i even need the timeouts.. But the second part does not work the trigger action does not work .. |
__________________
Dragoon Vengance
Owner of Pangea Relics of Time
P2P Rp server
For info or job
Email: [email protected]
aim: dragoonvengnc
|
|
|
|