Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Punjabi on September 08, 2008, 10:17:29 AM

Title: Loackcar problem!!!!!
Post by: Punjabi on September 08, 2008, 10:17:29 AM
I have to made a code like this
elseif (buycar* iswm $3) {
      if ($4) WSV.buycar $2 $4
      else WSV.msg $2 Please type !buycar <propid>
    }


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


This will work!!! ???
Title: Re: Loackcar problem!!!!!
Post by: thijn on September 08, 2008, 03:13:58 PM
so... Whats the problem?
Title: Re: Loackcar problem!!!!!
Post by: Tamas on September 08, 2008, 03:18:34 PM
Quoteelse WSV.msg $2 Please type !lockcar <propid>

Really?
Title: Re: Loackcar problem!!!!!
Post by: [XT]ariel[X] on October 16, 2009, 07: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!
    }
Title: Re: Loackcar problem!!!!!
Post by: thijn on October 17, 2009, 01:04:11 PM
^^ Spam...
Hes asking for WSV, Not for some WSV replaced with PDI script :/
Title: Re: Loackcar problem!!!!!
Post by: [XT]ariel[X] on October 17, 2009, 02:17:23 PM
u.u zorry  ;D PDI Using Base for WSV :D
Title: Re: Loackcar problem!!!!!
Post by: [XT]ariel[X] on October 17, 2009, 02: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

¬¬