Hya all,
I've been working on some LastManStanding (Simple) for FBS, this isn't working right now, for me.
What it does:
- Takes you to the LMS Position
- Freezes you
- Sets your HP to 100
- Sets your Armour to 100
- Counts down
- Unfreezes
- Begins
Here's the script, it would be fine if some of you guys could fix it
}
elseif ($3 == lms) {
if (%lms == on) vcmp.say $1 ** LastManStanding already in progress!
else {
set %lms on
timer 1 1 vcmp.say $1 ** LastManStanding has started! Type !join within 20 seconds.
timer 1 20 set %lms off
}
}
elseif ($3 == join) {
if (%lms == on) vcmp.say $1 ** $vcmp.name($1, $2) has joined LastManStanding!
else {
vcmp.setlocation $1 $2 -754.187866 -1602.638916 23.734970
vcmp.setarmour $1 $vcmp.name($1, $2) 100
vcmp.sethealth $1 $vcmp.name($1, $2) 100
vcmp.msg $1 $2 Taking you to LastManStanding. Enjoy!
timer 1 1 vcmp.setcontrols $1 $vcmp.name($1, $2) 0
timer 1 2 vcmp.say $1 LastManStanding starting in:
timer 1 5 vcmp.say $1 ---- 1 ----
timer 1 6 vcmp.say $1 ---- 2 ----
timer 1 7 vcmp.say $1 ---- 3 ----
timer 1 8 vcmp.say $1 ---- GO! ----
timer 1 8 vcmp.setcontrols $1 $vcmp.name($1, $2) 1
}
else {
if (%lms == off) {
vcmp.say $1 ** LastManStanding is not active!
}
}