[HELP] Rebel script
My skills are not too advanced yet, so I thought maybe you guys could help me on this part of my script.
I need a code that will detect if a terrorist shoots a CT. If they shoot a ct, I want it to say in chat "<nameofterrorist> is a rebel!" And once the CT kills the "rebel" I want the plugin to say "<nameofct> killed a rebel!" And also, if a CT randomly kills more than two terrorists, I want the CT to get slayed. Do you think this is possible? If it isn't a hassle, I would like one of you to show me a piece of code that can get this done, every part of my plugin except this is done. |
Re: [HELP] Rebel script
Use this.
Kills counter and rebels will be reset. (Untested): PHP Code:
|
Re: [HELP] Rebel script
Thank you so much Dores.
I can't wait to try this when I get home! |
Re: [HELP] Rebel script
I compiled and tested with bots.
The slaying part worked, however there were no messages. Found this in my console: Quote:
|
Re: [HELP] Rebel script
Fixed code.
|
Re: [HELP] Rebel script
Now the message is showing when I get slayed for killing more than 2 T's!
But no message appears when T's attack me. From console: Quote:
|
Re: [HELP] Rebel script
change
PHP Code:
|
Re: [HELP] Rebel script
Technical issues I forgot to check. ^^
Do what xPaw said. |
Re: [HELP] Rebel script
I and give u a better one with colours.
|
| All times are GMT -4. The time now is 01:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.