• Welcome to Vice City Multiplayer.
 

Plz help my auto-drown!

Started by Dudu, February 21, 2009, 08:06:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dudu

This is not work: PLS help me!


  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

Mex

You need to specify which player you want to set the location of.

If you want to drown the killer, change
vcmp.setlocation -485.562 -777.406 205.796
to
vcmp.setlocation %killer -485.562 -777.406 205.796

Dudu

Quote from: Mex on February 22, 2009, 02:38:09 AM
You need to specify which player you want to set the location of.

If you want to drown the killer, change
vcmp.setlocation -485.562 -777.406 205.796
to
vcmp.setlocation %killer -485.562 -777.406 205.796

Thx! This work!
Picture:

Luukang: Thx the test.

ZJY

what player do to auto drown?
GTA Chinese station→http://gtachina.5d6d.com ↓↓↓↓↓↓↓↓↓ My idol ↓↓↓↓↓↓↓↓↓