Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: Darkness on March 21, 2009, 10:58:04 PM

Title: Self-Heal..
Post by: Darkness on March 21, 2009, 10:58:04 PM
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
Title: Re: Self-Heal..
Post by: thijn on March 21, 2009, 11:31:28 PM
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
Title: Re: Self-Heal..
Post by: Darkness on March 22, 2009, 07:14:32 PM
where can i get the new dll ?

and can u give me this command? please

thanks
Title: Re: Self-Heal..
Post by: Amenine on March 23, 2009, 11:26:58 AM
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
Title: Re: Self-Heal..
Post by: Darkness on March 23, 2009, 11:21:48 PM
and where i paste this :

.timer 1 30 vcmp.setheal %id 100?

please help me XD
Title: Re: Self-Heal..
Post by: Skirmant on August 09, 2009, 03:32:52 PM
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 :)
Title: Re: Self-Heal..
Post by: [XT]ariel[X] on August 30, 2009, 02:34:48 PM
Hi all ;D

      
but if I want for my WSV can.
Title: Re: Self-Heal..
Post by: thijn on August 31, 2009, 01:10:55 PM
Just add this in ur healthchange signal:

on *:SIGNAL:vcmp.player.healthchange:{
if ($4 <= 50) {
WSV.sethealth $2 100
}
}
Title: Re: Self-Heal..
Post by: [XT]ariel[X] on September 01, 2009, 11:05:53 PM
tranks man :).
Title: Re: Self-Heal..
Post by: [XT]ariel[X] on September 01, 2009, 11:47:49 PM
one last question which I paste: s
Title: Re: Self-Heal..
Post by: Obito on September 07, 2009, 03:42:50 AM
on *:SIGNAL:vcmp.player.healthchange: vcmp.sethealth $2 100
just that lol
Title: Re: Self-Heal..
Post by: [XT]ariel[X] on September 07, 2009, 05:28:34 PM
tranks :).
Title: Re: Self-Heal..
Post by: [XT]ariel[X] on October 21, 2009, 02:38:13 AM
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