Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] How can I make players invincible?

 
  • 0 Vote(s) - 0 Average
Pawn How can I make players invincible?
XDK6
Offline

Burgershot Member
Posts: 4
Threads: 3
Joined: Jun 2021
Reputation: 0
#1
2021-06-25, 03:38 AM
Hello guys! I'm a newbie scripter. I needd help how to make a playerid invincible.
Pinch
Offline

Burgershot Member
Posts: 391
Threads: 19
Joined: Apr 2019
Reputation: 22
Location: Belgrade, Serbia
#2
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.
Otakeiro
Offline

Burgershot Member
Posts: 15
Threads: 7
Joined: Nov 2020
Reputation: 0
#3
2021-06-26, 07:06 AM
Just set your life at a high value.
Code:
SetPlayerHealth(playerid, 999999.0);
Pinch
Offline

Burgershot Member
Posts: 391
Threads: 19
Joined: Apr 2019
Reputation: 22
Location: Belgrade, Serbia
#4
2021-06-26, 11:52 AM
(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.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode