1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
addhook("die","zj_hospital") function zj_hospital(id) 	parse("spawnplayer "..id.." 5728 4320") 	parse("setmoney ".. id .." ".. (player(id, "money") - 250)) 	msg2(id,"©005255255You died and paid $250 to the hospital!") end addhook("kill","zj_prison") function zj_prison(id) 	parse("spawnplayer "..id.." 6000 6000") 	parse("setmoney ".. id .." ".. (player(id, "money") - 800)) 	msg2(id,"©255015015You are sent to jail and paid $500!") end
How do I fix this script? Prison works fine but I still go to jail and pay $500 when I killed myself. The Hospital, when I died, it brought me to the Hospital and I paid $250 which is what I expected but it doesn't equip the player with knife after re-spawning. When I killed myself, it shows both messages but I only want to pay $250 and be in the Hospital after suicide. I mean, why have a murder case by killing yourself?