• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Slayer UH, Lua Script! [Can Change Name]

nicktm

Otland Helper
Joined
Oct 9, 2009
Messages
106
Reaction score
3
Location
Griffin, GA
In actions.xml add
PHP:
<action itemid="2284" script="uh.lua"/>

In Actions/Scripts Make a new notepad a put
PHP:
function onUse(cid, item, frompos, item2, topos) 
mag = getPlayerMagLevel(cid) 
if mag >= 0 then 
doSendMagicEffect(topos,61) 
doCreatureSay(cid,"Slayer UH!",19) 
doCreatureAddHealth(cid, 150000) 
if item.type > 1 then 
end 
else 
doSendMagicEffect(frompos,2) 
doPlayerSendCancel(cid,"You don't have the required magic level to use that rune.")
 end 
return 1 
end
and name it uh.lua
Ok if you want to change the amout of health it heals doCreatureAddHealth(cid, 150000), change the 150000 to whatever you want and if you wanna change what it says use change doCreatureSay(cid,"Slayer UH!",19) and where it says Slayer Uh! you can change that to whatever you want rep ++ if i helped :D :ninja:
 
dude u post 2 script wich is totally same? people can change doCreatureAddHealth really easy-.- and the scripts not made by you.
 
LUA:
function onUse(cid, item, frompos, item2, topos)  
    local mag = getPlayerMagLevel(cid)  
    return (mag > 0 and (doSendMagicEffect(topos, 61) and doCreatureSay(cid, "Slayer UH", 19) and doCreatureAddHealth(cid, 150000)) or (doSendMagicEffect(frompos, 2) and doPlayerSendCancel(cid, "You don't have the required magic level to use that rune."))) and true 
end
 
Back
Top