• Welcome to Vice City Multiplayer.
 

Help me!!!!!

Started by Punjabi, September 12, 2008, 01:47:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Punjabi

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.
}


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

Punjabi

I am waiting for someone reply but noone is doing it plz help.. :-[ :'(
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Punjabi

it will work or not............. >:(
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Tamas

Its work for me fine, you need to put this to the correct place.