Author Topic: WSV CMDS  (Read 12654 times)

0 Members and 1 Guest are viewing this topic.

Offline gamyster

  • Wiseguy
  • **
  • Posts: 61
    • View Profile
WSV CMDS
« on: October 10, 2008, 03:30:00 pm »
Can Someone post !engine on/off cmd
Founder of [SAF]Clan

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: WSV CMDS
« Reply #1 on: October 10, 2008, 03:33:24 pm »
Heres the code:

Quote
    elseif (engineoff == $3) && ($2 < 100) {
      WSV.cmdlevelcheck $1-
      if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.setvehicleengine $4 0
      if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.msg $2 Vehicle $chr(91) $WSV.vehiclename($4) $chr(93) engine turned off
      else WSV.msg $2 This is not your vehicle!
    }
    elseif (engineon == $3) && ($2 < 100) {
      WSV.cmdlevelcheck $1-
      if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.setvehicleengine $4 2
      if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.msg $2 Vehicle $chr(91) $WSV.vehiclename($4) $chr(93) engine turned on
      else WSV.msg $2 This is not your vehicle!
    }

But vcmp 0.3z does not support the engineon function correctly. Anyway you can turn it on again, by entering the vehicle.

Offline gamyster

  • Wiseguy
  • **
  • Posts: 61
    • View Profile
Re: WSV CMDS
« Reply #2 on: October 10, 2008, 05:41:54 pm »
this aint working man it says this is not ur vehicle :( as i own that vehicle! so can u make without owning stuff i mean any new person who type !engineoff and on will work if he dont own the car
Founder of [SAF]Clan

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Re: WSV CMDS
« Reply #3 on: October 10, 2008, 05:58:47 pm »
plz place it at right place so that ur brackets will close properly by other command ......... ;)

Cya
Punjabi_goli
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Offline gamyster

  • Wiseguy
  • **
  • Posts: 61
    • View Profile
Re: WSV CMDS
« Reply #4 on: October 10, 2008, 06:27:50 pm »
plz can u make without checking if he owns the car
Founder of [SAF]Clan

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: WSV CMDS
« Reply #5 on: October 10, 2008, 09:53:19 pm »
Done:

Quote
    elseif (engineoff == $3) && ($2 < 100) {
      WSV.cmdlevelcheck $1-
      WSV.setvehicleengine $4 0
      $WSV.vehiclename($4) $chr(93) engine turned off
    }
    elseif (engineon == $3) && ($2 < 100) {
      WSV.cmdlevelcheck $1-
      WSV.setvehicleengine $4 2
      $WSV.vehiclename($4) $chr(93) engine turned on
    }

Offline gamyster

  • Wiseguy
  • **
  • Posts: 61
    • View Profile
Re: WSV CMDS
« Reply #6 on: October 11, 2008, 12:14:44 pm »
THANK you its working
« Last Edit: October 11, 2008, 05:32:11 pm by gamyster »
Founder of [SAF]Clan

Offline gamyster

  • Wiseguy
  • **
  • Posts: 61
    • View Profile
Re: WSV CMDS
« Reply #7 on: October 12, 2008, 01:09:20 pm »
But i saw in a server that when u type !engineon the player itself getout from car and get in in about 1 second!
Founder of [SAF]Clan

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: WSV CMDS
« Reply #8 on: October 12, 2008, 01:48:50 pm »
That is a really useless stuff

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Re: WSV CMDS
« Reply #9 on: October 12, 2008, 03:06:25 pm »
Its a bug ..... :o
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Offline [XT]ariel[X]

  • Wiseguy
  • **
  • Posts: 58
  • Hi all!!
    • View Profile
    • American Server
Re: WSV CMDS
« Reply #10 on: October 09, 2009, 02:20:40 am »
and alias for engineon not alias -.-!
Clic in image from enter in my web :D

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: WSV CMDS
« Reply #11 on: October 10, 2009, 12:12:05 am »
and alias for engineon not alias -.-!
??? ??? What ??? ???

Offline Mattz

  • VC:MP Lead Tester
  • Made Man
  • *
  • Posts: 192
  • BK-201
    • View Profile
Re: WSV CMDS
« Reply #12 on: October 10, 2009, 05:59:49 am »
I guess ariel wants to see alias <something> { blah }


Offline [XT]ariel[X]

  • Wiseguy
  • **
  • Posts: 58
  • Hi all!!
    • View Profile
    • American Server
Re: WSV CMDS
« Reply #13 on: October 11, 2009, 08:18:18 pm »
the scripts engineon and engineoff using alias not?
Clic in image from enter in my web :D

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: WSV CMDS
« Reply #14 on: October 11, 2009, 09:33:44 pm »
It's not using any other aliases then the default aliases in WSV I think. (Not sure though)