Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
I need script like that! When i kill somebody it shows text "(my name) pwned (victim name)" with some nice effect. If somebody didnt understand, im not requesting frag reward.
function onKill(cid, target)
local name = getCreatureName(cid)
local kill = getCreatureName(target)
if isPlayer(cid) == TRUE and isPlayer(target) == TRUE then
broadcastMessage("".. name .." PWNS ".. kill ..".")
end
end
Hmm somebody can fix? [15/02/2009 14:24:49] Warning: [Event::loadScript] Event onDeath not found. data/creaturescripts/scripts/bcdeath.lua im using rc 1
Also, it kinda has to return TRUE, if nothing has been changed.
Use this one:
Code:
function onKill(cid, target)
if isPlayer(cid) == TRUE and isPlayer(target) == TRUE then
local name = getCreatureName(cid)
local kill = getCreatureName(target)
broadcastMessage(name .." PWNS ".. kill ..".")
end
return TRUE
end
Or if you dont want to show the names, replace: getCreatureName(cid).." with PK 1 and "..getCreatureName(target).." with PK 2, I didnt really get it, oki?