SA-MP Forums Archive
One question - 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)
+--- Thread: One question (/showthread.php?tid=309741)



One question[+rep] - cs_waller - 08.01.2012

How I can make when player are in event and when I type the command /stopattacking and when he pressed the button lmb;enter or ctrl should automatically kills him?Sorry for my bad english


Re: One question - Snowman12 - 08.01.2012

not sure what you mean however if you wish send me a PM using your language as I know alot of languages and can translate for you.


Re: One question - JamesC - 08.01.2012

OnPlayerKeyStateChange > Check if Stop Attacking is activated using a global variable > Check if the player is pressing the above keys > Kill the player.


Re: One question - cs_waller - 09.01.2012

Thanks but I want when player are in event and when I type the command /noweapons I want to make this command to prohibit the killing, and if someone kills another person it punishable by death


Re: One question - cs_waller - 09.01.2012

BUMP