Black Luster
New Member
Credits: Rogui
Go data/talkactions/scripts
Copy any file and put this:
Save and name to "Suicide"
Go data/talkactions/talkactions.xml
And paste this:
x=1000, y=1000, z=7: Is the coordinates
Adios mundo Crúel! : You can edit this
<talkaction words="bye"<------ Edit This If You Want
Coment Please. :thumbup:
Go data/talkactions/scripts
Copy any file and put this:
Code:
function onSay(cid, words, param)
tilepos = { x=1000, y=1000, z=7 }
playerpos = getPlayerPosition(cid)
if playerpos.x == tilepos.x and playerpos.y == tilepos.y and playerpos.z == tilepos.z then
doPlayerAddMana(cid,-getPlayerMana(cid))doPlayerAddHealth(cid,-getPlayerHealth(cid))
doPlayerSay(cid, "Adios mundo Crúel!",1)
return 0
end
return 1
end
Save and name to "Suicide"
Go data/talkactions/talkactions.xml
And paste this:
Code:
<talkaction words="bye" script="suicide.lua" />
x=1000, y=1000, z=7: Is the coordinates
Adios mundo Crúel! : You can edit this
<talkaction words="bye"<------ Edit This If You Want
Coment Please. :thumbup: