Thread: Selling Strings
View Single Post
  #1  
Old 11-03-2001, 01:21 AM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Question Selling Strings

How do i do that if i have 5 iron and want to sell it and i get 1g for each iron,


This is the script for the rocks (where you get the string)

NPC Code:

if(this.mintype==2)
{
if (this.power<=0)
setplayerprop #c, Iron Found!;
setstring Iron,#v(strtofloat(#s(Iron))+1);
this.mintype=0;
}





Can anyone help me make the selling thing?


-EDIT-
I edited the script so its begin eassyer to script, so can anyone PLEASE help?
__________________
Donate money for my trip to Germany

Adiarde Manager

Last edited by mhermher; 11-03-2001 at 01:23 AM..
Reply With Quote