2021-06-25, 03:38 AM
Hello guys! I'm a newbie scripter. I needd help how to make a playerid invincible.
[Pawn] How can I make players invincible?
|
2021-06-25, 03:38 AM
Hello guys! I'm a newbie scripter. I needd help how to make a playerid invincible.
2021-06-25, 08:21 AM
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.
2021-06-26, 07:06 AM
Just set your life at a high value.
Code: SetPlayerHealth(playerid, 999999.0);
2021-06-26, 11:52 AM
(2021-06-26, 07:06 AM)Otakeiro Wrote: Just set your life at a high value. 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. |