• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] How can I make players invincible?
#1
Hello guys! I'm a newbie scripter. I needd help how to make a playerid invincible.
  Reply
#2
You probably should consider using weapon-config.inc as it makes it as simple as possible.

I am not saying that you shouldn't look into WC's source code later (once you learn the basics it should be a bit clearer to you).
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply
#3
Just set your life at a high value.

Code:
SetPlayerHealth(playerid, 999999.0);
  Reply
#4
(2021-06-26, 07:06 AM)Otakeiro Wrote: Just set your life at a high value.

Code:
SetPlayerHealth(playerid, 999999.0);

That's by no means invicible
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply


Forum Jump: