[FilterScript] VIP Protection
#1

This filterscript allows players to be VIPs or bodyguards, kinda like in GTA Online (although an inferior version). VIP players can't shoot their bodyguards and bodyguards can't shoot their VIP.




VIP Information

- You need at least $1,000,000 to become a VIP. If you have the required amount, you can use /becomevip to become a VIP. You'll stay VIP until you disconnect, the required amount won't be taken from you because of that. (You can configure the amount from VIP_REQUIRED define)
- You can hire up to 5 bodyguards. They're assigned to protect you, if they let you get killed their salary will get penalized. (You can configure the bodyguard limit from BODYGUARD_LIMIT define)

VIP Commands

/becomevip - Makes you VIP if you have the required amount of money.
/hire - Shows a list of available bodyguards, you can hire them to protect you.
/bodyguards - Shows a list of your bodyguards, you can fire them from here.
/vmsg - Sends a message to your bodyguards.
/vcol - Changes your label color, applies to bodyguard labels too.
/cancelvip - Removes your VIP status.

Bodyguard Information

- You can become an available bodyguard using /lookforjob, VIP players can hire you if they want to.
- You're assigned to protect your VIP. If your VIP gets killed, your salary will get penalized. (You can configure the penalty amount from SALARY_PENALTY define)
- Your salary will start at $5,000. Every time your VIP dies it will get penalized until it's $500. (You can configure the salary from STARTING_SALARY and configure the minimum salary from MIN_SALARY defines)
- To get paid, you must be near your VIP for 300 seconds. (You can configure the time from SALARY_TIME define)

Bodyguard Commands

/lookforjob - Makes you an available bodyguard. If you're already available, makes you unavailable.
/vmsg - Sends a message to your VIP and other bodyguards protecting your VIP.
/resign - Removes your bodyguard status.

Notes

- Since this filterscript disables damaging using OnPlayerWeaponShot, melee weapons still do damage. You can use weapon-config's OnPlayerDamage to disable melee damaging. Also it's a pretty nice include, go check it out!

Credits

Incognito for Streamer Plugin
Yashas for Improved ZCMD

Downloads

Reply
#2

With some good rework, this might come useful for the RP servers. Anyways, good job.
Reply
#3

Nice.
Reply
#4

Good work.
Reply
#5

Nice Work
+Rep
Reply
#6

Good work Rootcause, Keep it up bro.
Reply
#7

Quote:
Originally Posted by benjaminjones
View Post
With some good rework, this might come useful for the RP servers. Anyways, good job.
Indeed, thanks.

Quote:
Originally Posted by Humza
View Post
Nice.
Quote:
Originally Posted by Saifullah
View Post
Good work.
Quote:
Originally Posted by Zorono
View Post
Nice Work
+Rep
Quote:
Originally Posted by MarleyBanks
View Post
Good work Rootcause, Keep it up bro.
Thanks guys.
Reply
#8

Awesome, it would be cool if you could make a persons own terminator that kills those who tries to hit the person, a NPC bodyguards to
Reply
#9

Sick as usual.
Reply
#10

Best Greek scripter!
I love it, thanks!
Reply
#11

i love it! good job man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)