Vice City Multiplayer

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

Title: Make a teleport command-own command
Post by: Daniel95 on March 20, 2009, 10: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, 10:56:17 pm
I can do it in GUS and then you can convert it.

Code: [Select]
}
  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, 09: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, 10: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, 01:17:33 pm
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 22, 2009, 01:29:11 am
I can do it in GUS and then you can convert it.

Code: [Select]
}
  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:
Code: [Select]
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, 04: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, 05:34:42 pm
ye