• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TalkAction Transform

Nirer

New Member
Joined
Aug 23, 2007
Messages
91
Reaction score
0
Location
Israel, How Unfortunate
Supo dudes? I recently created a script (with the help of Nahruto),
The script basically changes you look (lookType, lookBody etc...)...
Anyways I'm using TFS and I need the transformation script to add levels to a certain skill.. for instance club... so I tried to find a function like "doPlayerAddSkill(cid, skillid, number)" but there is no function like that in TFS...
so this is what I tried:

*Example for club only!*
PHP:
repeat
doPlayerAddSkillTry(cid, 1, 1)
until getPlayerSkill(cid, 1)==getPlayerSkill(cid, 1)+10

Although it didn't work...

How and what should I do?
I really need to add a certain amount of levels to a certain skill.. how?! THX!
 
Last edited:
@off topic how much time did it take u to learn Lua?
 
OMG! You must be kidding dude..
That is real fast if he made it alone no help.
 
Code:
repeat
doPlayerAddSkillTry(cid, 1, 1)
until getPlayerSkill(cid, 1)==getPlayerSkill(cid, 1)+10
I think this event won't stop anytime...
because:
getPlayerSkill = lets say 10
now it will repeat till the skill is 10+10, but if you advance 1 skill it will be 11+10 and so on... xD

But nice done anyway.
 
yeah sorry... Nahruto already helped me fix it.. thx dude :)
Now only 1 more thing left to do :)
@ Clary: Thx man, but this is nothing! give me your MSN ill send you my whole transformation script (as long as u dont release it) :)
 
Last edited:
PHP:
function doPlayerAddSkill(cid, skillid, n)
    for i=1, n do
        doPlayerAddSkillTry(cid, skillid)
    end
    return TRUE
end
 
When will you release the script? Its not that special, I bet I could get it if I wanted it.

[I am Nahruto's official beta tester on scripts] ^^
 
Znote this script wont be released
only ppl who got it are me and Nirer
We aren't releasing any from the scripts we will create to anyone except us.
and remember me and Nirer are Nahruto students XD
I apologize but I am afraid I can't release.
 
Last edited:
Everyone who knows some lua can make it, so what is that big deal about? lol.
 
don't ask me Marcinek ask those ppl that want it..
I never said it is hard to make I looked at it nothing special easy to make but there are loops which is making it hard.
Nirer created it not me.
 
Lol, man believe me he won't give it to you... if you really want it that badly I can just give it to you...

Nah don't want it :p Just think that maybe other ppl wants it.

But im fine without it ^^
 
Znote if u need help just ask me for it and I will be always ready.
 
nja, its not nice to keep it for youself so if I have some time today or this weekend I will create it for you people ;) send me a pm to remind me lol U.u
 
Back
Top