[Pedido Action Bless x Palanca]
2 participantes
[Pedido Action Bless x Palanca]
Vie Mayo 25, 2012 7:27 pm
bueno vengo a pediles aver si tienen x ahi el Actiond de Darle Click a una palacan Si lo tienen postenlo porfavor..! se los agradesco Hi OThispano.net
Re: [Pedido Action Bless x Palanca]
Vie Mayo 25, 2012 7:38 pm
- Código:
function onUse(cid, item, fromPosition, itemEx, 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 doPlayerRemoveMoney(cid, 50000) == 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 need 50k to get blessed!")
end
end
return 1
end
Encontre ese, pruebalo
Permisos de este foro:
No puedes responder a temas en este foro.