Albanon
New Member
- Joined
- Mar 5, 2011
- Messages
- 93
- Reaction score
- 1
This is a script I found for 0.3.6cryingdamson. I would like to edit this, but I do not know where to begin. Mystic Spirit lacks many of the functions that CryingDamson has. Is there a way to tweak this code to work for Mystic Spirit? If not, is there a way to add functions to mystic spirit?
Code:
function onSay(cid, words, param)
if param == "" then
doPlayerSendTextMessage(cid, 22, "Please specify one of your summons.")
else
if getCreatureSummons(cid) == getCreatureByName(param) then
if getCreatureName(getCreatureByName(param)) == TRUE and getCreatureMaster(getCreatureByName(param)) == cid then
doTeleportThing(getCreatureByName(param), getCreaturePosition(cid), TRUE)
else
doPlayerSendTextMessage(cid, 22, "You do not have that monster summoned.")
end
end
end
return true
end
Last edited: