JailBreak Rebel System
I'm trying to make a PrisonBreak mod for 1.6 but am still fairly noob when it comes to scripting... :|
I want to make the rebel system that they have on source, so what happens is when a terrorist damages a counter-terrorist once, a message pops up saying they're a rebel and they turn red, until a new round begins. I compiled a small script that I knew wouldn't work but someone might be able to finish correctly... I got it to work to a degree but it kept on repeating the "%name% is now a rebel!" line over and over after the first hit. PHP Code:
|
Re: JailBreak Rebel System
Try this:
. . . |
Re: JailBreak Rebel System
Quote:
PHP Code:
|
Re: JailBreak Rebel System
Quote:
|
Re: JailBreak Rebel System
Sorry then.. :(
|
Re: JailBreak Rebel System
Didn't work :(
You had the wrong team, but i changed that round, but it's still displaying the message everytime I get damaged or hit a counter-terrorist. I only need it to show once, and only when i hit a ct. |
Re: JailBreak Rebel System
Quote:
|
Re: JailBreak Rebel System
Still doesn't work. Same issues as before, however, it doesn't say you're a rebel when damaging yourself anymore.
Problems... Says you're a rebel on every startround (but resets your rendering to normal anyway) Says you're a rebel EVERYtime you attack a ct |
Re: JailBreak Rebel System
Filter the damage event :
PHP Code:
|
Re: JailBreak Rebel System
Quote:
Added Connor's suggestion: PHP Code:
|
| All times are GMT -4. The time now is 14:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.