Para tirar as skulls mais rápidas existe um comando para isso:
Vá em data/talkactions e abra o talkactions.xml e adicione essa tag:
<talkaction words="!removepk" script="skullclean.lua"/>
Agora entre na pasta scripts e crie um arquivo .lua e renomeie para skullclean, dentro dele adicione isso:
function onSay(cid, words, param, channel)
if (getCreatureSkullType(cid) == SKULL_BLACK) then
doPlayerRemoveMoney(cid, 200000)
doCreatureSetSkullType(cid, SKULL_NONE)
doPlayerSendTextMessage(cid, 22, "You soul are clean.")
else
doPlayerSendTextMessage(cid, 22, "You need 200.000 gold pieces to remove the black skull")
end
if (getCreatureSkullType(cid) == SKULL_RED) then
doPlayerRemoveMoney(cid, 100000)
doCreatureSetSkullType(cid, SKULL_NONE)
doPlayerSendTextMessage(cid, 22, "You soul are clean.")
else
doPlayerSendTextMessage(cid, 22, "You need 100.000 gold pieces to remove the red skull")
end
if (getCreatureSkullType(cid) == SKULL_WHITE) then
doPlayerRemoveMoney(cid, 10000)
doCreatureSetSkullType(cid, SKULL_NONE)
doPlayerSendTextMessage(cid, 22, "You soul are clean.")
else
doPlayerSendTextMessage(cid, 22, "You need 10.000 gold pieces to remove the white skull")
end
if (getCreatureSkullType(cid) == SKULL_NONE) then
doPlayerSendTextMessage(cid, 22, "You soul are clean like water!")
end
return TRUE
end
E vc nao falou no topico qual magia vc qer. Poste qe estarei vendo se tem como fazer.
Espero ter ajudado, Att. Snowz.








info
Grupo: Campones
Registrado: 31/01/10
Posts: 0
Reputação: 0
Olha eu denovo =D
Galera e o siguinte vcs nao tem um scripter de magia pra mim nao?
bom como eu faso para tirar red skull mais rapido?