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

Request of script

Kaorus

Unleash Dreams Staff
Joined
May 18, 2008
Messages
1,111
Reaction score
41
My next proyect is a War Ot.


Code:
[LEFT]When you kill someone, this will send a message of who died and by whom.[/LEFT]
Example:
Player X of "Guild Name" is killed by Y Player of "Guild Name"

Code:
When you die, you are teleported to the temple.

Code:
A system of capture the flag

Code:
[LEFT]This event is something strange 
You go to a castle, you must destroy a statue, the team that destroyed the first, you must run to his temple, but if someone kills the other team which was the latest blow to the statue, this may take the aura, if you spend 15 seconds and no one collects, the statue is reborn, if someone managed the aura of the statue to his temple, gaining experience and a record of who is winning.[/LEFT]


Code:
A ceremonial ankh, which when cliked, will tell you your score of deaths

Code:
A message is sent every 5 minutes saying the current score, who is the greater killer.

Example:
Darkness Emblem 7 - 5 Mystic Warlords
The Player "X" is the actual king of assassin

Code:
When you kill 5 people, you send a message saying: 

 You are a silent murderer 

 When you kill 10: 
 You are punishing the weak 

 When you kill 25: 
 You are a murderer qualified 

 When you kill 50: 
 You are the god of the murderers


Code:
A change map, which is easy to configure. 

 Will be 8 maps, the map will change every 30 minutes
Please, some scripter can help my?



 
Last edited:
1 and 2 Here:

PHP:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
	doCreatureAddHealth(cid, getCreatureMaxHealth(cid) - getCreatureHealth(cid), TRUE)
	doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), TRUE)
	doRemoveCondition(cid, CONDITION_INFIGHT)
	doBroadcastMessage(""..getCreatureName(cid).." were killed by " .. getCreatureName(lastHitKiller) .. " at level "..getPlayerLevel(cid)..".", 21)
return FALSE
end

7 Here:

PHP:
function onKill(cid, target)
    if isPlayer(cid) == TRUE and isPlayer(target) == TRUE then
        if getPlayerFrags(cid) == 5 then
			doPlayerSendTextMessage(cid, 22, "You are a silent murderer")
		elseif getPlayerFrags(cid) == 10 then
			doPlayerSendTextMessage(cid, 22, "You are punishing the weak")
		elseif getPlayerFrags(cid) == 25 then
			doPlayerSendTextMessage(cid, 22, "You are a murderer qualified")
		elseif getPlayerFrags(cid) == 50 then
			doPlayerSendTextMessage(cid, 22, "You are the god of the murderers")
        end
    end
    return TRUE
end

Worked in simple ones for now :D
 
You can add this in the second script?
-You lose lvl (the initial level is 100)
-You dont lose items
-You lose all frags :p
-And gain all mana/health
 
Last edited:
Back
Top