Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function doPlayerSetSkill(cid, skill, amount)
- local pid = getPlayerGUID(cid)
- doRemoveCreature(cid,true)
- db.executeQuery("UPDATE `player_skills` SET `value` = ".. amount .." WHERE `player_id` = ".. pid .. " and `skillid` = ".. skill..";")
- return TRUE
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement