Revive in City

Cocaj

Dedicated Member
Dedicated Member
Mar 12, 2006
128
4
65
Spain
How can I make tht when someone dies, a box oppens and asks if you whant to ress in city?



PD: I have already searched and not seen anything
(For Mapadale xD)

Thank'S
 

kyeron

LOMCN Veteran
Veteran
Loyal Member
Sep 28, 2008
296
1
45
timisoara
For 3.55 Server this:


00Default.txt (script):

[@_DieScript]
#IF
HLSCRIPTCMD CHECKUNDEAD
#ACT
goto @Yourdead*****

[@Yourdead*****]
#CALL [HLSCRIPT\DieScript.TXT] @DieScriptExec



HLScript Archive,Script Name DieScript:

[@DieScriptExec]
{
#SAY
It costs{FCOLOR/1}nothing{FCOLOR/12} to revive in town\
It costs{FCOLOR/1}5000000 gold{FCOLOR/12} to revive where you died\
<Revive at Home/@next1>\\
<Revive Here/@next2>\
#elseact
close
[@next1]
#if
HLSCRIPTCMD CHECKUNDEADINHOME
#ACT
HLSCRIPTCMD UNDEADINHOME
close
#elseact
close
[@next2]
#if
checkgold 5000000
HLSCRIPTCMD CHECKUNDEAD
#act
HLSCRIPTCMD UNDEAD
take gold 5000000
close
#ELSEACT
SysMsg "Fool you don't have enough gold, now you perish!"
close
} by falador (http://www.lomcn.co.uk/forum/showthread.php?t=54188&highlight=revive+town) u sure u searched first ?
 
Upvote 0

mapadale

Guest
Your lucky I've not infracted you twice for this, as its also in the wrong section as this should be in NPC\Quest help.

LOCKED AND MOVED.
 
Upvote 0

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
195
Redditch, UK
any ideas why this script would be stopping my server from running, everytime i try to put this script in i get srtserver error and cant figure out why
 
Upvote 0

Yolom

LOMCN Veteran
Veteran
Aug 7, 2010
325
21
45
Spain
Hvae you got more scripts in 00Default.txt? Malfunctioning all or only to revive in city?

regards
 
Upvote 0