View Single Post
  #1  
Old 10-09-2001, 06:42 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Exclamation Strings and Var!

I need help on this! It won't work!

// Created By Rob Getashu
if (created) {
// Initialize the attributes
showcharacter;
setcharprop #3,head0.gif;
setcharprop #C0,orange;
setcharprop #C1,white;
setcharprop #C2,blue;
setcharprop #C3,red;
setcharprop #C4,black;
setcharprop #2,shield1.gif;
shieldpower = 1;
dir = 2;
}
if (playerchats&&strequals(#c,sell lumber)) {
this.lumber = strtofloat(#v(client.lumber);
playerrupees+=this.lumber;
setstring client.lumber,;
setstring server.gavelumber,#v(this.lumber);
setplayerprop #c,You sold #v(this.lumber) logs;
lumber = strtofloat(#s(lumber))=0;
}



// Created By Rob Getashu
if (created) {
showcharacter;
setcharani appletree4,
}
if (actionlumberjacking && this.lumberhit<=100){
this.lumberhit++;
message #v(this.lumberhit/100*100)%
}
if (this.lumberhit=20) {
setcharani appletreecut,
}
if (this.lumberhit=100) {
setstring lumber,#v(strtofloat(#s(lumber))+3);
setani lumber,;
sleep .5;
hide;
say2
Wow this is valueable #b
lumber!#b
You now have #s(lumber).;
this.lumberhit=0
}
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote