• Welcome to Vice City Multiplayer.
 

Make a teleport command-own command

Started by Daniel95, March 20, 2009, 07:11:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Daniel95

I want make command for WSV like this:
If you type !dm its teleport you to dm arena how to did it? ???
<@Foxtrot> halooo
<@Foxtrot> darfeh any cw's?
* Desert_Eagle is now known as darfeh
<@darfeh> idk

[NoN]Toiletduck

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
    }


Daniel95

<@Foxtrot> halooo
<@Foxtrot> darfeh any cw's?
* Desert_Eagle is now known as darfeh
<@darfeh> idk

[NoN]Toiletduck

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.

Daniel95

Quote from: [NoN]Toiletduck on March 21, 2009, 07: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..... :-\
<@Foxtrot> halooo
<@Foxtrot> darfeh any cw's?
* Desert_Eagle is now known as darfeh
<@darfeh> idk

thijn

Quote from: [NoN]Toiletduck on March 20, 2009, 07: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
}


Daniel95

at the x y z i set the coords right?  ??? :P
<@Foxtrot> halooo
<@Foxtrot> darfeh any cw's?
* Desert_Eagle is now known as darfeh
<@darfeh> idk

thijn