BlackList
PassingWrath.us
- Joined
- Aug 30, 2007
- Messages
- 133
- Reaction score
- 26
Basically, you are standing on a certain position. You say a certain phrase like "over turn" and returns back with an outfit or addon.
Here is a script that is somewhat like that, but does blessings, but also, it doesn't work. I fails to check if player is on location.
I know this exists somewhere, I just can't find it So if you can possibly make one or if you know the location, sharing it would be great, thank you!
Here is a script that is somewhat like that, but does blessings, but also, it doesn't work. I fails to check if player is on location.
Lua:
local player = {x = 1247, y = 1054, z = 7, stackpos = 3}
function onSay(cid, words, param, fromPosition, toPosition)
if getPlayerBlessing(cid, 1) or getPlayerBlessing(cid, 2) or getPlayerBlessing(cid, 3) or getPlayerBlessing(cid, 4) or getPlayerBlessing(cid, 5) then
doPlayerSendCancel(cid,'You have already got one or more blessings!')
else
if getCreaturePosition(cid, player) == true then
doPlayerAddBlessing(cid, 1)
doPlayerAddBlessing(cid, 2)
doPlayerAddBlessing(cid, 3)
doPlayerAddBlessing(cid, 4)
doPlayerAddBlessing(cid, 5)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYDAMAGE)
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have been blessed by the gods!')
else
doPlayerSendCancel(cid, "You must be located in front of the Hand of Faith!")
end
end
return 1
end
I know this exists somewhere, I just can't find it So if you can possibly make one or if you know the location, sharing it would be great, thank you!