joj0r
2012-04-17 10:39:26
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 this
Then at the proggy procedure i've addet this
also tried other variables for XPL like LongInt, but none is working
in the procedure DeclarePlayer i've addet this
Log:='Teak'; // Please Type in the Logs you are Burning, For Process Report //Logs,Achey,Oak,Willow,Teak,Maple,Mahogany,Arctic,Eucalyptus,Yew,Magic //Log is stringThen at the proggy procedure i've addet this
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; XPL (XP per Log) is integer, my problem is that it won't compile. What am i doing wrong? Thanks for answer =]also tried other variables for XPL like LongInt, but none is working