• 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!

Please Help War Script :)..

OreoCookie

New Member
Joined
Sep 22, 2009
Messages
7
Reaction score
0
Im requesting a script that you pull a lever and you go to an arena and if u are in the arena this script only works in that special arena:

Not tested.

creaturescripts/scripts/fragreward.lua
Code:
function onKill(cid, target)
        if isPlayer(target) == TRUE then  
        loot = 2152 
	item = doPlayerAddItem(cid,loot,1)     
        end
        return TRUE
end

creaturescripts.xml
Code:
<event type="kill" name="FragReward" event="script" value="fragreward.lua"/>

And finally, in your onLogin:
Code:
registerCreatureEvent(cid, "FragReward")

Then when you are in the arena when 20 minutes pass.. You get tp to the dp or temple.....
 
Back
Top