Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Darkness on March 22, 2009, 12:58:04 am

Title: Self-Heal..
Post by: Darkness on March 22, 2009, 12:58:04 am
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 22, 2009, 01:31:28 am
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, 09: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, 01:26:58 pm
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 24, 2009, 01:21:48 am
and where i paste this :

Code: [Select]
.timer 1 30 vcmp.setheal %id 100?

please help me XD
Title: Re: Self-Heal..
Post by: Skirmant on August 09, 2009, 04:32:52 pm
Just Make an alias like this:

Code: [Select]
alias vcmp.autoheal {
  If ($vcmp.hp($1) =< 50) vcmp.sethp $1 100
}

And put:

Code: [Select]
.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, 03: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, 02:10:55 pm
Just add this in ur healthchange signal:
Code: [Select]
on *:SIGNAL:vcmp.player.healthchange:{
if ($4 <= 50) {
WSV.sethealth $2 100
}
}
Title: Re: Self-Heal..
Post by: [XT]ariel[X] on September 02, 2009, 12:05:53 am
tranks man :).
Title: Re: Self-Heal..
Post by: [XT]ariel[X] on September 02, 2009, 12:47:49 am
one last question which I paste: s
Title: Re: Self-Heal..
Post by: Obito on September 07, 2009, 04:42:50 am
Code: [Select]
on *:SIGNAL:vcmp.player.healthchange: vcmp.sethealth $2 100just that lol
Title: Re: Self-Heal..
Post by: [XT]ariel[X] on September 07, 2009, 06:28:34 pm
tranks :).
Title: Re: Self-Heal..
Post by: [XT]ariel[X] on October 21, 2009, 03: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