Posts: 164
Threads: 41
Joined: Oct 2011
Reputation:
0
Hy guys...again me!!! I have a quastion for you! Can anywove make a script for me about admin shoot kill!!! When any player fight or shoot ADMIN with gun, the player Dead!!?
Posts: 471
Threads: 97
Joined: Feb 2010
Reputation:
0
I got a question for you, when you gonna learn proper English?
Damn..
EDITING TOPIC LATER...
Posts: 164
Threads: 41
Joined: Oct 2011
Reputation:
0
hahhaha YES! i dont speak much english! but can anywove make that script
Posts: 11
Threads: 1
Joined: Jun 2010
Reputation:
0
He means if player shoots at admin, the player dies
Posts: 434
Threads: 19
Joined: Aug 2011
Reputation:
0
No-one is going to write a script for you. But I will give you some pointers on how to proceed.
You will firstly need to use OnPlayerTakeDamage.
Within this callback, you want to check if the receiver is an admin.
If they ARE an admin, you want the sender's health to be set to 0.
If you have any questions about how to achieve this, you are more than welcome to ask. But asking for a script in Scripting Discussion is not the way it works.
Have a go, test it out, if it doesn't work, come back and ask questions about how to IMPROVE your OWN coding
Posts: 164
Threads: 41
Joined: Oct 2011
Reputation:
0
Okey Rob!! I will try that! Thanks! |||||||| But can anybody als make it??
Posts: 149
Threads: 0
Joined: Oct 2009
Reputation:
0
No. As you can see, the purpose of scripting discussion is to discuss about scripting. Above you have got some great information that will help you script exactly what you asked for. So stop being lazy and develop it, and people will help you if you have questions while working on it.