doPlayerAddSkill(cid, amount)
I guess that's what I should use to make the player recieve a skill but I don't get how I should use it.
I tried with
But that didn't work ^^
Also tried with:
Doesn't work.
Maybe it doesn't work because of my config.lua (rateSkill = 0). So how can I do this?
I guess that's what I should use to make the player recieve a skill but I don't get how I should use it.
I tried with
PHP:
doPlayerAddSkill(cid, skillid, amount))
Also tried with:
PHP:
doPlayerAddSkillTry(cid, SKILL_SWORD, getPlayerRequiredSkillTries(cid, SKILL_SWORD, getPlayerSkillLevel(cid, SKILL_SWORD))
Doesn't work.
Maybe it doesn't work because of my config.lua (rateSkill = 0). So how can I do this?
Last edited: