• Welcome to Vice City Multiplayer.
 

Help With Pickups

Started by Darkness, December 29, 2008, 07:17:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Darkness

Hello, I needed help with pickups, I want to do is to take less to appear.
 
And How To create Teleports Pickup??

And how to make the camera pickup count laps?

Help me Please

Thx

Darkness

and ... How to create !Fix command  ;D

[NoN]Toiletduck

#2
!fix for cars in GUS?

If that is what you want then:

elseif ($2 == !Fix) {
   vcmp.msg %id Vehicle is being repaired.
   .timer 1 2 vcmp.setvehiclehp $vcmp.vehicle(%id,name) 100
}


One thing. 0.3z's setvehiclehp is bugged and it might not work.

Darkness

Thanks , but the car has burning with !fix :S

[NoN]Toiletduck

It isn't working because of the 03z bug.

thijn

#5
try using this:

  elseif (!fix == $2) {
    var %a = 0
    var %b = $vcmp.vehicle(%id,id),%c = $vcmp.location(%id)
    if ($vcmp.vehicle(%id,id) != 0) {
      vcmp.setlocation %id %c %a
      vcmp.setvehicleloc %b -556.0687 -739.7618 5.1515
      vcmp.msg %id Please wait while we repair your car...
      vcmp.announce %id ~b~Pleas wait..
      !.timer 1 9 /vcmp.setvehicleloc %b %c
      !.timer 1 9 /vcmp.setvehicle %id %b
      !.timer 1 9 /vcmp.msg %id Thank you for your patience. You car has been repaired.
      !.timer 1 9 /vcmp.announce %id ~b~You car has been Repaired!
    }
    else vcmp.msg %id You can only fix vehicles! Not yourself!
  }


Knucis


Darkness


Darkness

mmm Thijn !fix commands haves bug :S

thijn

sorry, Forgot one thing, Use this:

  elseif (!fix == $2) {
    var %a = 0
    var %b = $vcmp.vehicle(%id,id),%c = $vcmp.location(%id),%d = $vcmp.location(%id,x) $vcmp.location(%id,y) $calc($vcmp.location(%id,z) - 1.12)
    if ($vcmp.vehicle(%id,id) != 0) {
      vcmp.setlocation %id %c %a
      vcmp.setvehicleloc %b -556.0687 -739.7618 5.1515
      vcmp.msg %id Please wait while we repair your car...
      vcmp.announce %id ~b~Pleas wait..
      !.timer 1 9 /vcmp.setvehicleloc %b %d
      !.timer 1 9 /vcmp.setvehicle %id %b
      !.timer 1 9 /vcmp.msg %id Thank you for your patience. You car has been repaired.
      !.timer 1 9 /vcmp.announce %id ~b~You car has been Repaired!
    }
    else vcmp.msg %id You can only fix vehicles! Not yourself!
  }


Darkness

O Thx you very much =) Thijn

Other : how to reduce spawn pickups time?

thijn

use on pickup:
.timer 1 <the secs u want> dll rcondll.dll RconCommand spawnpickup $2


Darkness

xD , Thx you "you are the best" =)

Darkness

How te create Counts Laps Pickup with Camera pickup (ID:382)

Please Help Me =)

Darkness