Author Topic: Plz help my auto-drown!  (Read 4126 times)

0 Members and 1 Guest are viewing this topic.

Offline Dudu

  • Street Thug
  • *
  • Posts: 30
    • View Profile
Plz help my auto-drown!
« on: February 21, 2009, 11:06:37 pm »
This is not work: PLS help me!

Code: [Select]
  if ((%victim != Unknown) && (%killer != Unknown)) {
    vcmp.msg %killer Killed - Victim: $vcmp.name(%victim) $+ , Weapon: $vcmp.weapon.name(%weapon) $+ , Location: $vcmp.area(%victim)
    vcmp.add.kills %killer 1
    vcmp.setlocation -485.562 -777.406 205.796
    vcmp.say Auto Drowned Player
  }

Based on Gus9.0

Offline Mex

  • Wiseguy
  • **
  • Posts: 63
    • View Profile
Re: Plz help my auto-drown!
« Reply #1 on: February 22, 2009, 05:38:09 am »
You need to specify which player you want to set the location of.

If you want to drown the killer, change
Code: [Select]
vcmp.setlocation -485.562 -777.406 205.796to
Code: [Select]
vcmp.setlocation %killer -485.562 -777.406 205.796

Offline Dudu

  • Street Thug
  • *
  • Posts: 30
    • View Profile
Re: Plz help my auto-drown!
« Reply #2 on: February 22, 2009, 12:20:14 pm »
You need to specify which player you want to set the location of.

If you want to drown the killer, change
Code: [Select]
vcmp.setlocation -485.562 -777.406 205.796to
Code: [Select]
vcmp.setlocation %killer -485.562 -777.406 205.796

Thx! This work!
Picture:

Luukang: Thx the test.

Offline ZJY

  • Street Thug
  • *
  • Posts: 6
  • china server 125.89.128.139:5192
    • View Profile
    • GTA Chinese Station
Re: Plz help my auto-drown!
« Reply #3 on: March 03, 2009, 10:35:57 am »
what player do to auto drown?
GTA Chinese station→http://gtachina.5d6d.com ↓↓↓↓↓↓↓↓↓ My idol ↓↓↓↓↓↓↓↓↓

Offline [NoN]Toiletduck

  • Wiseguy
  • **
  • Posts: 65
    • View Profile
Re: Plz help my auto-drown!
« Reply #4 on: March 20, 2009, 11:00:25 pm »
The killer.