EFFX's VIP v2.0
Description:
This plugin is a VIP made by me from 0. Features:
Code:
1. Respawn Bonus
When you're respawning, you receive full armor pack + if you is ct, free defuse kit + different model.
2. Menu
Special Items with menu ( say /vipmenu for show )
The menu have:
1. Weapons
2. Special Items
Weapons:
AK47 + Deagle + All greandes
M4A1 + Deagle + All Grenades
AWP + Deagle + All Grenades
You can choose your equipament 1x per round.
Items:
BunnyHop - Auto bhop
MultiJump - Three jumps
HP Regenerate - +2 HP per second
No Damage - You dont lose hp per 15 second
And Immobilize - You can immobilize your enemy with a shot
All items have a price ( VIPMoney )
But whats VIPMoney?
VIPMoney is a new money system for my VIP, you receive +15 VM per kill ( just change the cvar )
3. ScreenFade after kill
When you kill a enemy, will get a ScreenFade, red for Terrorist and blue for Counter-Terrorist
4. After you connect, the plugin will show a message only for you + a sound:
Hello X ( player name ), how are you today?! Type /vipmenu for show your menu!
5. Saying /vips, you can see the vips online ( All players )
6. A hud message will show your VIPMoney over the money ( controlled by cvar, 1/0 )
7. A admin can add/remove your vip with the command amx_vip <player> or <@ALL> <1/0>
8. A admin can reset all VIPS's Money and Items from nvault data ( amx_resetdata )
9. If you arent VIP, the plugin have a system of experience that you will got random experience per kill ( 25 and 80 ), and a hudmessage showing your Experience.
If you got X experience ( controlled by cvar ) you will got VIP
10. After the map starts, the plugin will exec a config with all cvars ( configs/VIPCfgs ), if haven't this config on your config folder, the plugin will stop run.
Cvars:
Code:
// Show VIP Money? 0/1
vip_showmoney "1"
// Ammount of Health Per kill ( VIP )
vip_killhpbonus "25"
// Ammount of Armor Per kill ( VIP )
vip_killapbonus "25"
// Ammount of VIP Money per kill
vip_vipmoneybonus "15"
// Ammout of max hp when you're using HP Regenerate
vip_hpregenmax "100"
// Ammount of hp that you want add when you're using HP Regenerate
vip_hpregenadd "2"
// Max experience for you get VIP
vip_maxexperience "12500"
// Prefix on all messages
vip_prefixchat "[EFFxVIP]"
Includes:
Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <engine>
#include <fakemeta>
#include <hamsandwich>
#include <nvault>
#include <fun>
Change Log:
Code:
- v0.8 : Badly codded, unknown function: remove_frozen
- v0.9 : Removed useless cvars
- v1.0 - Removed useless cvars
- v1.1 - Removed Always with bomb, for what ? If have 4-6 vip on the server, how will be? We can add random VIP, but will be useless that. Removed useless cvars, added sound when VIP connect ( only for him ) and updated the code.
- v1.2 - Fixed the player with VIPModel when admin has deactived him's VIP
- v1.3 - After your spawn, the VIP menu open automatic, you can use No Damage only 1x per round, fixed the bug at the hud message ( negative and infinit numbers )
- v1.4 - Fixed the sound when VIP connect
- v2.0 - New way to reset player's model, Added @ALL command for if the admin want to active/deactive VIP of all players, just use amx_vip @ALL 1/0, Fixed the /vips ( was not showing ), Only one item per time, if you use bunnyhop and want to use multijup, the bunnyhop will be off, Added a sound when X player has got admin, Added a hud when you're dead showing your target ( who you're spectating ) him's VIPMoney and VIP Item ( if is vip ), if him inst vip, show him's experience, and again, fixed the code format
Commands:
Code:
amx_resetdata - You can reset all VIPMoney and VIP Items from nvault data
amx_vips <nick>|<@ALL> <1/0> - You can add/remove vip from X player/All players
PS: This plugin were for fun, but i posted here for you guys.