• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Can some one help me with this script cause it dnt work

dmflucid

IDK?
Joined
Oct 3, 2008
Messages
41
Reaction score
0
Location
LA, CA
Code:
local killerPos = getCreaturePosition(killer)
local positions = {
{ x = pPos.x, y = pPos.y, z = pPos.z },
{ x = pPos.x - 1, y = pPos.y, z = pPos.z },
-- fill yourself
}



doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You are dead.")
doSendAnimatedText(getPlayerPosition(cid), "OWNED", 19)
for i = 1, table.maxn(positions) do
doSendMagicEffect(killerPos, i)
end
add this under
PHP Code:
function onDeath(cid, corpse, killer)
 
Last edited:
@up
[ego]
No spam, plx. I appreciate, that you really are so angry that this guy won't used php tags, oh my god! He is not using php tags! BAN HIM!
[/ego]

@topic
Code:
function onDeath(cid, corpse, killer)
local killerPos = getCreaturePosition(killer)
local positions = {
{ x = pPos.x, y = pPos.y, z = pPos.z },
{ x = pPos.x - 1, y = pPos.y, z = pPos.z },
-- fill yourself
}
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You are dead.")
doSendAnimatedText(getPlayerPosition(cid), "OWNED", 19)
for i = 1, table.maxn(positions) do
doSendMagicEffect(killerPos, i)
end

you said that this doesn't work. But gives it any errors?
 
Back
Top