Author Topic: Question from friend (he doesn't know english)  (Read 2990 times)

0 Members and 1 Guest are viewing this topic.

szostol

  • Guest
Question from friend (he doesn't know english)
« 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?

Offline Mex

  • Wiseguy
  • **
  • Posts: 63
    • View Profile
Re: Question from friend (he doesn't know english)
« Reply #1 on: January 31, 2008, 05:20:21 pm »
If you're using this 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.

szostol

  • Guest
Re: Question from friend (he doesn't know english)
« Reply #2 on: January 31, 2008, 05:36:09 pm »
Thanks you, I sent it to friend