• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

TalkAction Soul Point Doll

undead mage

Active Member
Joined
Mar 25, 2012
Messages
364
Solutions
2
Reaction score
47
Location
Amsterdam
Just say !addsoul with the doll and u will get 1 soul point u can change it to more soul points :)

data\talkactions\scripts\addsoulpoint
PHP:
function onSay(cid, words, param)
 
local soul = getPlayerSoul(cid)
 
	if soul == 200 then
        return doPlayerSendCancel(cid, "You can not add more soul")
	end
	if getPlayerItemCount(cid, 10306) >= 1 then
	doPlayerRemoveItem(cid, 10306, 1)
	doPlayerAddSoul(cid, 1)
 	doPlayerSendTextMessage(cid,25,"You added 1 soul.")
	else
	doPlayerSendCancel(cid, 'You need a doll for this.')
	end
return true
end

And this in talkactions :)
PHP:
	<talkaction words="!addsoul" event="script" value="addsoulpoint.lua"/>

(I did not make the script!!! Im just sharing it :) Its from Limos so give her the rep!)
 
Last edited:
Back
Top