Drop Health and Armour - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Drop Health and Armour (
/showthread.php?tid=101433)
Drop Health and Armour -
icezoor - 10.10.2009
When a player be killed on my server, hi drop his weapon on the ground... I want exactly same but he drop full Health and Armour?
How can I do this?
Re: Drop Health and Armour -
_Vortex - 10.10.2009
... When someone dies it's because they're dead. How will they drop their health that they had when they die? Common sense.
Re: Drop Health and Armour -
Calgon - 10.10.2009
You can alternatively make someone type /kill, providing you've created a /kill command.
Re: Drop Health and Armour -
_Vortex - 10.10.2009
Quote:
Originally Posted by CalgonX
You can alternatively make someone type /kill, providing you've created a /kill command.
|
Yes, but that'd also set their health to 0..
Re: Drop Health and Armour - [03]Garsino - 10.10.2009
Quote:
Originally Posted by [B
Vortex ]
... When someone dies it's because they're dead. How will they drop their health that they had when they die? Common sense.
|
I think he ment that when someone die a health and armour pickup will be dropped to the ground and when someone enter it they will get health/armour.
Re: Drop Health and Armour -
_Vortex - 10.10.2009
In that case, he's requesting it.
Try here:
http://forum.sa-mp.com/index.php?topic=114903.0
Re: Drop Health and Armour -
Jakku - 10.10.2009
So you mean that when other player dies, it will create a pickup for full health and armor so you can pick them up?
Re: Drop Health and Armour -
icezoor - 10.10.2009
Quote:
Originally Posted by [B
Vortex ]
... When someone dies it's because they're dead. How will they drop their health that they had when they die? Common sense.
|
If you are in a fight with 8 players, or maybe 1... is it very nice to pickup full armour and health from a player which just been killed.
Sure, I can use:
SetPlayerHealth(killerid, 100);
SetPlayerArmour(killerid, 100);
But I want to run to the health instead get full life straight ahead....
Re: Drop Health and Armour -
icezoor - 10.10.2009
Quote:
Originally Posted by Garsino
Quote:
Originally Posted by [B
Vortex ]
... When someone dies it's because they're dead. How will they drop their health that they had when they die? Common sense.
|
I think he ment that when someone die a health and armour pickup will be dropped to the ground and when someone enter it they will get health/armour.
|
Exactly!
Re: Drop Health and Armour -
_Vortex - 10.10.2009
Ugh. Don't double post. And like I said, post it in the script request thread.