Author Topic: Help me!!!!!  (Read 3178 times)

0 Members and 1 Guest are viewing this topic.

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Help me!!!!!
« on: September 12, 2008, 03:47:54 pm »
Whats the problem in this code....... ??? :-\ not working..

Code: [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 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..>>

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Re: Help me!!!!!
« Reply #1 on: September 15, 2008, 07:10:28 pm »
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..>>

Offline Punjabi

  • Made Man
  • ***
  • Posts: 147
  • Config Editor
    • View Profile
    • PUN Clan
Re: Help me!!!!!
« Reply #2 on: September 16, 2008, 11:07:15 am »
it will work or not............. >:(
GOD BLESS ALL..<<Founder of PUN Clan.....Born to fight and Kill..>>

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: Help me!!!!!
« Reply #3 on: September 22, 2008, 09:10:59 am »
Its work for me fine, you need to put this to the correct place.