Nirer
New Member
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!*
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!
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: