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:
Then when you are in the arena when 20 minutes pass.. You get tp to the dp or temple.....
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.....