A Code for adding +5 str, +5agi, +5int automatically
Moderator: Cheaters
-
- Senior Member
- Posts: 115
- Joined: July 30th, 2009, 1:22 pm
Re: A Code for adding +5 str, +5agi, +5int automatically
We need more info , what error when you try to create the map? If could , upload a picture .
W C 3 E D I T . N E T S U C K S M Y B A L L ! !



-
- Newcomer
- Posts: 15
- Joined: December 2nd, 2008, 5:17 am
Re: A Code for adding +5 str, +5agi, +5int automatically
I also just insert, only these codes at endglobals section and still cant create the map..
elseif SubString(s2s,0,6)=="-cs"then
call SetHeroAgi(u2u,GetHeroAgi(u2u,false)+5,true)
call SetHeroStr(u2u,GetHeroStr(u2u,false)+5,true)
call SetHeroInt(u2u,GetHeroInt(usu,false)+5,true)
elseif SubString(s2s,0,6)=="-cs"then
call SetHeroAgi(u2u,GetHeroAgi(u2u,false)+5,true)
call SetHeroStr(u2u,GetHeroStr(u2u,false)+5,true)
call SetHeroInt(u2u,GetHeroInt(usu,false)+5,true)
-
- Senior Member
- Posts: 115
- Joined: July 30th, 2009, 1:22 pm
Re: A Code for adding +5 str, +5agi, +5int automatically
Open the .j file , F9 Syntax check.
W C 3 E D I T . N E T S U C K S M Y B A L L ! !



-
- Newcomer
- Posts: 15
- Joined: December 2nd, 2008, 5:17 am
Re: A Code for adding +5 str, +5agi, +5int automatically
Sir FatherSpace,
Look what ive found out... your codes, after i posted it here... i noticed that...
elseif SubString(s2s,0,6)=="-cs"then
call SetHeroAgi(u2u,GetHeroAgi(u2u,false)+5,true)
call SetHeroStr(u2u,GetHeroStr(u2u,false)+5,true)
call SetHeroInt(u2u,GetHeroInt(usu,false)+5,true) <<<<< i guessed its a typo error and just changed it to....
elseif SubString(s2s,0,6)=="-cs"then
call SetHeroAgi(u2u,GetHeroAgi(u2u,false)+5,true)
call SetHeroStr(u2u,GetHeroStr(u2u,false)+5,true)
call SetHeroInt(u2u,GetHeroInt(u2u,false)+5,true)
And now... The Map is perfectly working!
Thank you so much FatherSpace... Your One of the Best here!..
Credits To you Sir!
Look what ive found out... your codes, after i posted it here... i noticed that...
elseif SubString(s2s,0,6)=="-cs"then
call SetHeroAgi(u2u,GetHeroAgi(u2u,false)+5,true)
call SetHeroStr(u2u,GetHeroStr(u2u,false)+5,true)
call SetHeroInt(u2u,GetHeroInt(usu,false)+5,true) <<<<< i guessed its a typo error and just changed it to....
elseif SubString(s2s,0,6)=="-cs"then
call SetHeroAgi(u2u,GetHeroAgi(u2u,false)+5,true)
call SetHeroStr(u2u,GetHeroStr(u2u,false)+5,true)
call SetHeroInt(u2u,GetHeroInt(u2u,false)+5,true)
And now... The Map is perfectly working!
Thank you so much FatherSpace... Your One of the Best here!..
Credits To you Sir!
-
- Newcomer
- Posts: 15
- Joined: December 2nd, 2008, 5:17 am
Re: A Code for adding +5 str, +5agi, +5int automatically
Sir Warchaser,
Problems all solved, syntax error (typo error) =)
Thanks also to you, for your time giving suggestions here...
Problems all solved, syntax error (typo error) =)
Thanks also to you, for your time giving suggestions here...
-
- Senior Member
- Posts: 115
- Joined: July 30th, 2009, 1:22 pm
Re: A Code for adding +5 str, +5agi, +5int automatically
You're welcome but next time don't double post .
W C 3 E D I T . N E T S U C K S M Y B A L L ! !


