Hey dudes i am using a free firemaking script from that forum. For Personal Use i wanted to add a Log/h Counter, but it's not working
in the procedure DeclarePlayer i've addet thisLog is stringCode:Log:='Teak'; // Please Type in the Logs you are Burning, For Process Report //Logs,Achey,Oak,Willow,Teak,Maple,Mahogany,Arctic,Eucalyptus,Yew,Magic //
Then at the proggy procedure i've addet this
XPL (XP per Log) is integer, my problem is that it won't compile. What am i doing wrong? Thanks for answer =]Code:if log ='Logs' then XPL :=40 else if Log ='Achey' then XPL :=40 else if Log ='Oak' then XPL :=60 else if Log ='Willow' then XPL :=67.5 else if Log ='Teak' then XPL :=105 else if Log ='Maple' then XPL :=135 else if Log ='Mahogany' then XPL :=157.5 else if Log ='Arctic' then XPL :=140.2 else if Log ='Eucalyptus' then XPL :=193.5 else if Log ='Yew' then XPL :=202.5 else if Log ='Magic' then XPL :=303.8 end; end; end; end; end; end; end; end; end; end; end; end;
also tried other variables for XPL like LongInt, but none is working


Reply With Quote













