Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Daniel95 on March 20, 2009, 08:11:25 PM

Title: Make a teleport command-own command
Post by: Daniel95 on March 20, 2009, 08:11:25 PM
I want make command for WSV like this:
If you type !dm its teleport you to dm arena how to did it? ???
Title: Re: Make a teleport command-own command
Post by: [NoN]Toiletduck on March 20, 2009, 08:56:17 PM
I can do it in GUS and then you can convert it.

}
  elseif ($2 == !dmarena) {
    if ($vcmp.cmdcheck(!dmarena,%id) == fail) !halt
    else {
      vcmp.msg %id Taking you to the Death Match arena...
      .timer 1 1 vcmp.setlocation %id axis axis axis
    }

Title: Re: Make a teleport command-own command
Post by: Daniel95 on March 21, 2009, 07:41:49 AM
But i need to WSV if you know how?
Title: Re: Make a teleport command-own command
Post by: [NoN]Toiletduck on March 21, 2009, 08:35:54 AM
If you are using WSV, open script editor and look at all replace the GUS paramaters and alises with the WSV ones.  It can't be very difficult.
Title: Re: Make a teleport command-own command
Post by: Daniel95 on March 21, 2009, 11:17:33 AM
Quote from: [NoN]Toiletduck on March 21, 2009, 08:35:54 AM
If you are using WSV, open script editor and look at all replace the GUS paramaters and alises with the WSV ones.  It can't be very difficult.

ok..... :-\
Title: Re: Make a teleport command-own command
Post by: thijn on March 21, 2009, 11:29:11 PM
Quote from: [NoN]Toiletduck on March 20, 2009, 08:56:17 PM
I can do it in GUS and then you can convert it.

}
  elseif ($2 == !dmarena) {
    if ($vcmp.cmdcheck(!dmarena,%id) == fail) !halt
    else {
      vcmp.msg %id Taking you to the Death Match arena...
      .timer 1 1 vcmp.setlocation %id axis axis axis
    }


I notice that every command u post begins with an } :P Donnu why u post that, but the cmd is bugged because u forgot one }
It should be:

elseif ($3 == dmarena) {
WSV.Cmdlevelcheck2 $1-
WSV.msg $2 Taking you to the Death Match arena...
.timer 1 1 WSV.setlocation $2 X Y Z
}
Title: Re: Make a teleport command-own command
Post by: Daniel95 on March 24, 2009, 02:18:44 PM
at the x y z i set the coords right?  ??? :P
Title: Re: Make a teleport command-own command
Post by: thijn on March 24, 2009, 03:34:42 PM
ye