SA-MP Forums Archive
TogglePlayerControllable - damage? - 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: TogglePlayerControllable - damage? (/showthread.php?tid=610802)



TogglePlayerControllable - damage? - Bigwebicek - 28.06.2016

Hi boys, how can I enable damage, when player isn't able to control please?


Re: TogglePlayerControllable - damage? - TayFunCZE - 28.06.2016

What do you mean by "enable damage"?


Re: TogglePlayerControllable - damage? - Bigwebicek - 28.06.2016

for exmpl... player isn't able to control, but someone else wants to kill him, so he would be able to give damage to the player, which cannot control.


Re: TogglePlayerControllable - damage? - SickAttack - 28.06.2016

Reduce the player's health (SetPlayerHealth) when someone hits them?


Re: TogglePlayerControllable - damage? - Bigwebicek - 28.06.2016

At onplayerweaponshot, right?