Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Punjabi on September 12, 2008, 02:47:54 PM

Title: Help me!!!!!
Post by: Punjabi on September 12, 2008, 02:47:54 PM
Whats the problem in this code....... ??? :-\ not working..

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 This is not your vehicle!
    }
    else WSV.msg $2 $WSV.name($4) is not in a car! 
  }
  else WSV.msg $2 $4 cannot be found on this server at the moment.
}

   
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 This is not your vehicle!
    }
    else WSV.msg $2 $WSV.name($4) is not in a car! 
  }
  else WSV.msg $2 $4 cannot be found on this server at the moment.
}


Title: Re: Help me!!!!!
Post by: Punjabi on September 15, 2008, 06:10:28 PM
I am waiting for someone reply but noone is doing it plz help.. :-[ :'(
Title: Re: Help me!!!!!
Post by: Punjabi on September 16, 2008, 10:07:15 AM
it will work or not............. >:(
Title: Re: Help me!!!!!
Post by: Tamas on September 22, 2008, 08:10:59 AM
Its work for me fine, you need to put this to the correct place.