• Welcome to Vice City Multiplayer.
 

Self-Heal..

Started by Darkness, March 21, 2009, 09:58:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Darkness

hi , i want self-heal when hp drops ... example:

When 50 HP Heal To 100 with scripts ...

i want to GUS please .

(P.D):Sorry my bad english , i from argentina :D

thijn

eeeh?? If i understand it right, U want to auto-heal when a player's healt get below 50?
with the new DLL U can just use the player.health.change signal ;)
With the old one, U need an timer


Darkness

where can i get the new dll ?

and can u give me this command? please

thanks

Amenine

1)With new DLL u need to convert your whole GUS..which i think not possible for u..
2)No need of that command unless u convert your GUS script..

Regards
Amenine

Darkness

and where i paste this :

.timer 1 30 vcmp.setheal %id 100?

please help me XD

Skirmant

Just Make an alias like this:

alias vcmp.autoheal {
 If ($vcmp.hp($1) =< 50) vcmp.sethp $1 100
}


And put:

.timer 0 30 vcmp.autoheal Id%  

In the join signal.

That's all :)
I know advance mIRC, average C++, basic Pawn & Squirrel, very basic Java Script.

[XT]ariel[X]

#6
Hi all ;D

      
but if I want for my WSV can.
Clic in image from enter in my web :D

thijn

Just add this in ur healthchange signal:

on *:SIGNAL:vcmp.player.healthchange:{
if ($4 <= 50) {
WSV.sethealth $2 100
}
}


[XT]ariel[X]

Clic in image from enter in my web :D

[XT]ariel[X]

one last question which I paste: s
Clic in image from enter in my web :D

Obito

#10
on *:SIGNAL:vcmp.player.healthchange: vcmp.sethealth $2 100
just that lol

[XT]ariel[X]

Clic in image from enter in my web :D

[XT]ariel[X]

modify the SIGNAL:

Code (SIGNAL Replace) Select
on *:SIGNAL:vcmp.player.healthchange:{
Code (SIGNAL a Change) Select
on *:SIGNAL:vcmp.player.healthchange:{ WSV.sethealth $2 100

Tranks all!! :D

Clic in image from enter in my web :D