AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   VIP Plugin v5.4.5 (https://forums.alliedmods.net/showthread.php?t=209501)

Unkolix 02-26-2013 09:52

VIP Plugin v5.4.5
 
17 Attachment(s)
VIP Plugin v5.4.5

First of all, I would like to thank you all for helping me on rewriting / improving that plugin which Dunn0 have made.

I want to thank all those people who helped me:
Dunn0, Stereo, jimaway, drekes, Bugsy, Erox902, Emp`, ConnorMcLeod, Backstabnoob, fysiks, wickedd, vitorrossi, YamiKaitou, aaarnas, SeriousSpot, souvikdas95, alicx

What does this plugin do?
  • 1. Gives grenade set (HE, 2FB, SG) every round.
  • 2. Gives defuse kit, armor with helmet every round.
  • 3. Gives 500$ per kill and 800$ per head shot kill.
  • 4. Gives 15HP per kill and 30HP per head shot kill.
  • 5. Gives ability to see VIP's bullet damage in real time.
  • 6. Only VIP's can buy snipers. (AWP, G3SG1, SG550)
  • 7. Special VIP models.
  • 8. From second round VIP will see VIP menu:
  • 1. M4A1 with Deagle.
  • 2. AK47 with Deagle.
  • 3. AWP with Deagle.
  • Type in chat /vips to see if there are any of them online.

FEATURES
Code:

1. VIP won't get VIP menu or the grenades if current map of the server contain the one you have written in mapnames.ini.
For example: if current map name contain awp_ in it, and you have written awp_ in mapnames.ini, VIP won't get VIP menu and grenades.
2. VIP won't get AWP choise if current map of the server contain the one you have written in awpmapnames.ini.
For example: if current map contain 2x2 in it, and you have written 2x2 in awpmapnames.ini, VIP won't get AWP choice in those maps.
3. VIP will see AWP choice only if there will be enough players in each team (DEFAULT: 5CT, 5TR)
4. /vipmenu command, say it in chat to get VIP menu (works only if you haven't taken it already)
5. Quite a few bug / glitch fixes!
6. More cvars!
7. Multi-lingual!
8. Easy setting up the VIP flag, that will get all privileges, LINE: 95
9. Special VIP models!


What cvars does this plugin have?
PHP Code:

vip_hp 15 //How many hp VIP will get per kill
vip_hp_hs 30 //How many hp VIP will get per head shot kill
vip_max_hp 100 //How many hp VIP can have in total
vip_money_per_damage 3 //How many $ VIP will get per 1 damage
vip_money_kill_bonus 200 //How many $ VIP will get per kill
vip_money_hs_bonus 500 //How many $ VIP will get per head shot kill
vip_sniper_active 1 //Who can buy SNIPERS? 0 - everyone, 1 - only VIP
vip_menu_active 1 //Will VIP get VIP menu? 0 - won't get the menu, 1 - will get the menu
vip_map_active 1 //VIP menu works on the maps in mapnames.txt? 0 - Yes (VIP will get VIP menu), 1 - No
vip_awp_active 1 //1 - VIP can get AWP choice; 0 - can't
vip_menu_uses 1 //How many times VIP can use VIP menu per round?
vip_awp_ct 5 //How many counter terrorist must be in a team to AWP choice show up
vip_awp_tr 5 //How many terrorist must be in a team to AWP choice show up
vip_menu_round 2 //Round from which VIP will get VIP menu
vip_awp_menu_round 3 //Round from which VIP will get AWP choice
vip_sniper_pickup 1 //0 - everyone can pickup snipers, 1 - only VIP
vip_bulletdamage_recieved 1 //enable or disable showing recieved damage
vip_bulletdamage 1 //0 - plugin disabled, 1 - show damage done, 2 - show damage done, but not via wall!
vip_models 1 //0 - VIP models off, 1 - on
vip_menu_number_color 0 //Menu number color. 0 - red, 1 - yellow, 2 - white, 3 - grey.
vip_show_list 1 //How to show /vips online list. 0 - off, 1 - in chat, 2 - in motd 

Changelog:
Spoiler


Installing:
Spoiler


To-do list:
Spoiler


Translations are welcome here: http://forums.alliedmods.net/showthread.php?t=212125

P.S. I am willing to help you guys. I really appreciate for every bug/glitch report. If you want to remake it, be my guest and you don't understand something, just contact me through skype: unkolix

jonnzus 02-26-2013 14:23

Re: VIP Plugin v5.2
 
Nice one :D

Unkolix 02-26-2013 15:16

Re: VIP Plugin v5.2
 
Quote:

Originally Posted by jonnzus (Post 1902477)
Nice one :D

Thanks!

UPDATE:
Not using that stripweapons.inc, just to get rid of that shield bug. Should work perfectly now.

YamiKaitou 02-26-2013 19:32

Re: VIP Plugin v5.2.1
 
Remove the AMXX file from the archive or I will remove the archive entirely.

Unkolix 02-27-2013 00:12

Re: VIP Plugin v5.2.1
 
Quote:

Originally Posted by YamiKaitou (Post 1902703)
Remove the AMXX file from the archive or I will remove the archive entirely.

Removed.

ConnorMcLeod 02-28-2013 01:10

Re: VIP Plugin v5.2.1
 
Opening .sma clearly shows you have put together bunch of code and that you can't support it.
I say that just by having a look at plugin_init, not more.

You have to learn more before release plugins.

Unaproved.

Unkolix 02-28-2013 05:32

Re: VIP Plugin v5.2.1
 
Quote:

Originally Posted by ConnorMcLeod (Post 1903504)
Opening .sma clearly shows you have put together bunch of code and that you can't support it.
I say that just by having a look at plugin_init, not more.

You have to learn more before release plugins.

Unaproved.

Yea, I know that I need to learn more. The problem is that I don't understand more than half of the tutorials, only examples with comments kinda make me understand something.
I don't know what kind of support it will need as it is almost perfect ;D

ConnorMcLeod 02-28-2013 14:44

Re: VIP Plugin v5.2.1
 
Quote:

Originally Posted by Unkolix (Post 1903590)
as it is almost perfect ;D

It is really far from being perfect, and you can't notice it, that confirms you need to learn more ;)
But you can keep working on this.

Unkolix 02-28-2013 16:28

Re: VIP Plugin v5.2.1
 
Quote:

Originally Posted by ConnorMcLeod (Post 1903908)
It is really far from being perfect, and you can't notice it, that confirms you need to learn more ;)
But you can keep working on this.

I already found a few mistakes. If you know any very important improvements or mistakes I done, please tell me, I would really appreciate it.
As the original authors plugin is so far behind from mine, his one is approved. But that's not a problem for me, heh.
Thanks :)

Huseyn26 03-27-2013 08:33

Re: VIP Plugin v5.2.1
 
It Gives Runtime Error.I Compiled Plugin MySelf But Now Your .amxx was 1.63 mb,mine was 27kb.

I Replace it.But Now It Gives This Error:
[AMXX] Run time error 10 (plugin "VIP.amxx") (native "player_menu_info") - debug not enabled!


All times are GMT -4. The time now is 05:25.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.