Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: szostol on January 31, 2008, 04:02:16 pm

Title: Question from friend (he doesn't know english)
Post by: szostol on January 31, 2008, 04:02:16 pm
My friend is trying to do server as counter strike 2 teams etc. and he need command which can call !masskill and kill all players. Can you help?
Title: Re: Question from friend (he doesn't know english)
Post by: Mex on January 31, 2008, 05:20:21 pm
If you're using this (http://forum.vicecitymultiplayer.com/index.php?topic=119.0) script, then try this

Code: [Select]
on *:SIGNAL:vcmp.command:{
  if ($2 == !masskill) {
    var %a = 0
    while (%a <= 50) {
      if ($hget(vcmp,%a $+ .name) != $null) { vcmp.sethp %a 0 }
      !inc %a
    }
  }
}

Replace 50 with the max players allowed in your server.
Title: Re: Question from friend (he doesn't know english)
Post by: szostol on January 31, 2008, 05:36:09 pm
Thanks you, I sent it to friend