1-Hit-Kill - 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: 1-Hit-Kill (
/showthread.php?tid=77994)
1-Hit-Kill -
Trooper[Y] - 16.05.2009
How can i give a player the ability to 1-Hit-Kill another Player ?!
I already tried to use the OnPlayerKeyStateChange, but i can`t think further....
SIncereasly,
Trooper
Re: 1-Hit-Kill -
GanG$Ta - 16.05.2009
open the server.cfg and enter: Instagib 1
Re: 1-Hit-Kill -
Trooper[Y] - 16.05.2009
Where to enter ?
What`ll happen ?
I just want to give the ability to 1 (!!!) Player !
Re: 1-Hit-Kill -
Enzo_Ferrari_V12 - 16.05.2009
Are you talking about a car hit? OR a regular hit?
if it's a regular hit then
Код:
//OnPlayerLooseHealth
SetPlayerHealth(playerid, 0);
as for the car thing.... hmmm beats me
Re: 1-Hit-Kill -
Weirdosport - 16.05.2009
I can only think of checking when the player uses the punch button, then playertopoint'ing every player on the server to see if one of them is right infront of him, then killing them..