
09-20-2001, 09:48 PM
|
|
Registered User
|
Join Date: Sep 2001
Location: I CoMe FrOm A LaNd FaR FaR AwAy
Posts: 330
|
|
|
~~if someone buys 100 sand from me it does this~~
this.sandplus=strtofloat(#s(sandammt))+100;
setstring sandammt,#v(this.sandplus);
~~This is the sand jar...~~
if (weaponfired)
{
say2 Your Sand: #s(sandammt);
}
~~This is the (unnamed) mining tool~~
if (weaponfired){
set action.miningsand;
setcharprop #c, You have #v(this.number) Sand;
}
~~This is in the Mining Place...~~
if (action.miningsand)
{
this.number=random(1,10);
setstring sandplus,#v(this.number);
}
It doesn't work.. the sand just goes from 2.9382 or sumthin like that to 1.38473 then back to 29382 and to 1.38473..
can anyone help ? |
__________________
|
|
|
|