fist damage players while they're frozen? - 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: fist damage players while they're frozen? (
/showthread.php?tid=635878)
fist damage players while they're frozen? -
Killa[DGZ] - 15.06.2017
Is a player able to fist kill a frozen player or what?, can anyone tell me please?
All of a sudden everyone can fist kill people that have their controls toggled to false?
Re: fist damage players while they're frozen? -
JasonRiggs - 15.06.2017
Yes they do can, And to avoid this, you need to set the player a different interior, if you will make his controllable false..
Re: fist damage players while they're frozen? -
Alex_T - 15.06.2017
Quote:
Originally Posted by JasonRiggs
Yes they do can, And to avoid this, you need to set the player a different interior, if you will make his controllable false..
|
I dont think thats what he wants. If people can take damage from fists while frozen. In order to combat that you can set the players HP to what it was under onplayertakedamage
Re: fist damage players while they're frozen? -
Whatname - 15.06.2017
PHP Code:
new Float:hp
GetPlayerHealth(playerid, hp);
SetPlayerHealth(playerid, 9999999);
//freeze code
//unfreeze code;
SetPlayerHealth(playerid, hp);
Re: fist damage players while they're frozen? -
Killa[DGZ] - 16.06.2017
Thanks for the reply guys, I was only asking if it was possible because as far as I was aware before yesterday.. nothing could happen to you while you were frozen.
We tested with nades, fire, bullets, explosions, exploding cars, fuel pumps, satchel bombs an so on.. nothing works, but you can still be killed via punches.
Are you guys able to do that too?