Vice City Multiplayer

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

Title: Question from friend (he doesn't know english)
Post by: szostol on January 31, 2008, 02: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, 03:20:21 PM
If you're using this (http://forum.vicecitymultiplayer.com/index.php?topic=119.0) script, then try this

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, 03:36:09 PM
Thanks you, I sent it to friend