SA-MP Forums Archive
how to control and lose life? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: how to control and lose life? (/showthread.php?tid=457056)



how to control and lose life? - GoldZoroGrab - 08.08.2013

Hello people.

I wanna ask you how to make freeze player + able to lose life.

When I use
pawn Код:
TogglePlayerControllable(playerid, 0);
and get shot he/she don't lose life, anyway to make him lose life with same/other function(s)?


Re: how to control and lose life? - Elysian` - 08.08.2013

TogglePlayerControllable freezes the player, meaning nothing can happen.


Re: how to control and lose life? - Konstantinos - 08.08.2013

If I remember correct in 0.3x, most of the users were complaining because TogglePlayerControllable was changed and the frozen players could lose health.


Re: how to control and lose life? - GoldZoroGrab - 08.08.2013

Quote:
Originally Posted by Elysian`
Посмотреть сообщение
TogglePlayerControllable freezes the player, meaning nothing can happen.
Ummm I think I asked if there is other function, so please read all post before replying, thanks.


Re: how to control and lose life? - Luis- - 08.08.2013

No there isn't.


Re: how to control and lose life? - Elysian` - 08.08.2013

Quote:
Originally Posted by GoldZoroGrab
Посмотреть сообщение
anyway to make him lose life with same/other function(s)?
You also asked the same function, I told you what it done simply because there is no other function.