
11-03-2001, 09:55 PM
|
|
Registered User
|
 |
Join Date: Jul 2001
Location: Germany
Posts: 655
|
|
|
if(playerchats && strequals(#c,sell iron)){
this.priceperiron=5; //change to what u get for iron
if(strtofloat(#s(Iron))>0){
playerrupees+=strtofloat(#s(Iron))*this.priceperir on;
setstring Iron,0;
say2 Here's your money;
}
else {
say2 You have no Iron;
}
}
here we go =) |
__________________
No Webhost at the moment
|
|
|
|