Keeq
New Member
- Joined
- Nov 6, 2012
- Messages
- 100
- Reaction score
- 0
Hi, I have a problem with "blocking skills" can you help.
I have a script that blocks such as "SWORD skill" that we can not tamp more than 100 works but if someone logs out and logs in again it can harass more than 100 skills @TRANSLATE Google
if skill == SKILL_SWORD then
if getPlayerSkillLevel(cid, SKILL_SWORD) >= 100 then
doPlayerSetRate(cid, SKILL_SWORD, 0.0)
doPlayerAddSkillTry(cid, SKILL_SWORD, -(getPlayerSkillTries(cid, SKILL_SWORD)))
I have a script that blocks such as "SWORD skill" that we can not tamp more than 100 works but if someone logs out and logs in again it can harass more than 100 skills @TRANSLATE Google
if skill == SKILL_SWORD then
if getPlayerSkillLevel(cid, SKILL_SWORD) >= 100 then
doPlayerSetRate(cid, SKILL_SWORD, 0.0)
doPlayerAddSkillTry(cid, SKILL_SWORD, -(getPlayerSkillTries(cid, SKILL_SWORD)))