• Welcome to Vice City Multiplayer.
 

How to add the script in GUS9.0 (Commands) HELP!

Started by Dudu, January 04, 2009, 04:53:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dudu

How to add the script commands in GUS9.0  ???
ex: /c ann <message>
Please help me!

[NoN]Toiletduck

#1
  }
  elseif ($2 == !ann) {
    if ($vcmp.cmdcheck(!ann,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <text>
    else {
      var %a = 0
      while (%a <=  50) {
        if ($vcmp.name(%a) != Unknown) {
          vcmp.announce  %a  $3-
        }
        !inc %a
      }
    }


I am not so sure what you want but this is a looped !announce cmd.
Oh and you have to add !ann to your vcmp.cmdcheck, otherwise you cannot put a limit on which players can use it.

;) Enjoy.