Author Topic: Loackcar problem!!!!!  (Read 9104 times)

0 Members and 1 Guest are viewing this topic.

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Loackcar problem!!!!!
« on: September 08, 2008, 11:17:29 am »
I have to made a code like this
Code: [Select]
elseif (buycar* iswm $3) {
      if ($4) WSV.buycar $2 $4
      else WSV.msg $2 Please type !buycar <propid>
    }

Heres the code for Lockcar=
Code: [Select]
elseif (lockcar* iswm $3) {
      if ($4) WSV.lockcar $2 $4
      else WSV.msg $2 Please type !lockcar <propid>
    }

This will work!!! ???
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: Loackcar problem!!!!!
« Reply #1 on: September 08, 2008, 04:13:58 pm »
so... Whats the problem?

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: Loackcar problem!!!!!
« Reply #2 on: September 08, 2008, 04:18:34 pm »
Quote
      else WSV.msg $2 Please type !lockcar <propid>

Really?

Offline [XT]ariel[X]

  • Wiseguy
  • **
  • Posts: 58
  • Hi all!!
    • View Profile
    • American Server
Re: Loackcar problem!!!!!
« Reply #3 on: October 16, 2009, 08:23:19 pm »
you scripts not :S

Code: (Lockcar) [Select]
elseif (lockcar == $3) && ($2 < 100) {
      WSV.cmdlevelcheck $1-
      if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.setvehiclestatus $4 1
      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) locked
      else WSV.announce $2 Este No Es Tu Vehiculo!
    }
Code: (Unlockcar) [Select]
elseif (unlockcar == $3) && ($2 < 100) {
      WSV.cmdlevelcheck $1-
      if ($WSV.getname($2) == $WSV.carowners($4)) || ($WSV.getname($2) isin $WSV.sharecarowners($4)) WSV.setvehiclestatus $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) unlocked
      else WSV.announce $2 Este No Es Tu Vehiculo!
    }
« Last Edit: October 17, 2009, 03:16:41 pm by [XT]ariel[X] »
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: Loackcar problem!!!!!
« Reply #4 on: October 17, 2009, 02:04:11 pm »
^^ Spam...
Hes asking for WSV, Not for some WSV replaced with PDI script :/

Offline [XT]ariel[X]

  • Wiseguy
  • **
  • Posts: 58
  • Hi all!!
    • View Profile
    • American Server
Re: Loackcar problem!!!!!
« Reply #5 on: October 17, 2009, 03:17:23 pm »
u.u zorry  ;D PDI Using Base for WSV :D
Clic in image from enter in my web :D

Offline [XT]ariel[X]

  • Wiseguy
  • **
  • Posts: 58
  • Hi all!!
    • View Profile
    • American Server
Re: Loackcar problem!!!!!
« Reply #6 on: October 17, 2009, 03:19:32 pm »
the other bad scripts appearing this says 4 and is 1 and the unlockcar is 0
Code: (Yes) [Select]
WSV.setvehiclestatus $4 4
Code: (Not) [Select]
WSV.setvehiclestatus $4 1
¬¬
« Last Edit: November 05, 2009, 04:58:17 am by [XT]ariel[X] »
Clic in image from enter in my web :D