
02-06-2003, 09:36 PM
|
|
Script-fu
|
 |
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
|
|
Solucion! i think....
|
If when you set up the bounty use something like
with (getplayer(<whoever it is>)) {
addweapon -Bountysystem;
}
and then in the -Bountysystem weapon (- noting that it is a hdden weapon to the player) use something like this:
if (playerdies) {
triggeraction 0,0,bounty,bountied,#a;
}
and then back in the bounty script, use something like
if (actionbounty) {
if (strequals(#p(0),bountied)) {
message #p(1) was killed on Bounty!;
with (getplayer(#p(1))) {
removeweapon -Bountysystem;
}
}
}
It's a simple basis like that. Yet this is me scripting so it probably won't work. |
__________________
|
|
|
|