Raised This Month: $213 Target: $400
 53% 

EFFx's VIP


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-24-2016 , 13:24   EFFx's VIP
Reply With Quote #1

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.
Attached Files
File Type: zip EFFx VIP.zip (1.47 MB, 282 views)
File Type: sma Get Plugin or Get Source (VIP.sma - 890 views - 31.2 KB)
__________________

Last edited by EFFx; 06-25-2016 at 15:23.
EFFx is offline
Send a message via Skype™ to EFFx
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-24-2016 , 15:51   Re: EFFx's VIP
Reply With Quote #2

Plugin updated

UPDATES:

Code:
1. Fixed the unknown function: remove_frozen
2. Removed the cvar vip_killbonus, for what block the VIPMoney? :)
__________________

Last edited by EFFx; 06-24-2016 at 15:52.
EFFx is offline
Send a message via Skype™ to EFFx
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-24-2016 , 19:30   Re: EFFx's VIP
Reply With Quote #3

Updated again

UPDATES:

Code:
1. Removed always with bomb, if have 4-6 vips on this server? How will be?
2. Removed Cvar vip_spawnbonus
3. Removed Cvar vip_spawnmodel
4. Added sound when VIP connect
5. Fixed the code format.
__________________

Last edited by EFFx; 06-24-2016 at 19:30.
EFFx is offline
Send a message via Skype™ to EFFx
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 06-24-2016 , 19:57   Re: EFFx's VIP
Reply With Quote #4

Nice JOB
__________________



AssasinSniperNightmare ModArmageddon ModApolacyps Mod
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-24-2016 , 20:40   Re: EFFx's VIP
Reply With Quote #5

Updated again

UPDATES:

Code:
1. Fixed the model when admin has removed player's VIP
2. Fixed the bug on the hud ( infinite countdown with negative number ), fixed with "a",15 at the set_task
3. Fixed the sound at connect
4. The menu open automatic at the spawn
5. When you select a Item, the menu open again
6. You can use the No Damage only 1x per round.
__________________

Last edited by EFFx; 06-24-2016 at 22:59.
EFFx is offline
Send a message via Skype™ to EFFx
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-24-2016 , 23:03   Re: EFFx's VIP
Reply With Quote #6

New plugin update

UPDATES:
Code:
1. New way to reset players models when admin has reseted him's VIP
2. Added @ALL arg at amx_vip. If the admin want to add/remove VIP to all players on the server, just use amx_vip @ALL 1/0
3. Fixed the /vips ( Not was showing all VIPS, only 1 )
4. You can use only ONE ITEM PER TIME,If you are using HP Regen and want to use BunnyHop, the HP Regen will be off. And if you're using No Damage, you need to wait him finish for use others items ( is better for you )
5. Added a sound when X player has got admin with experience
6. 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.
7. And again ¬¬ code fixed, much errors.
P.S : Its my first normal plugin that i posted here, so i want to make him the best. So cause it i've made all updated possibles for approve.
__________________

Last edited by EFFx; 06-25-2016 at 16:18.
EFFx is offline
Send a message via Skype™ to EFFx
Artizy
Member
Join Date: Jun 2011
Location: Milan, Italy.
Old 06-25-2016 , 18:37   Re: EFFx's VIP
Reply With Quote #7

Good job bro'
I think this is the best vip plugin.
Artizy is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-25-2016 , 18:39   Re: EFFx's VIP
Reply With Quote #8

Thanks, i'll add translations later.
I'll wait the approvers say something.
__________________

Last edited by EFFx; 06-25-2016 at 18:40.
EFFx is offline
Send a message via Skype™ to EFFx
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 06-26-2016 , 03:39   Re: EFFx's VIP
Reply With Quote #9

If its coded well then i think 1 more vip plugin wont be useless because owners have a lot of choice.

But before aprovement i think you must change this(remove your credits)

vip_prefixchat "[EFFxVIP]"
siriusmd99 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-26-2016 , 04:19   Re: EFFx's VIP
Reply With Quote #10

That looks like a huge copy/paste. Also, just by fastly reading the code I can tell you that you have no ideea what you are doing.

I honestly don't know where to start to improve this. I think you should just rewrite it after you learn more and understand basic things. You can open a topic in Scripting Help forum if you feel like you need someone to guide you.

Unapproved.
__________________
HamletEagle is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:15.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode