AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Simple VIP Menu. Smoke & flash at respawn. (https://forums.alliedmods.net/showthread.php?t=167409)

Napoleon_be 09-15-2011 14:19

Simple VIP Menu. Smoke & flash at respawn.
 
1 Attachment(s)
VIP Menu
by
NapoleoN#

.:: Description ::.
Allows the admins with [FLAG T] to open up a VIP Menu wich allows you to buy some items! You will earn every single round a FlashBang and a Smoke grenade if you're a VIP!

.:: Commands ::.

say /vip
say_team /vip
say /vipmenu
say_team /vipmenu
say /vmenu
say_team /vmenu


.:: Installation ::.

  • Download the VIPMenu.amxx file and put it into your \amxmodx\plugins folder.
  • Go to plugins.ini and place in there "vipmenu.amxx"
  • To give a player VIP, type this in console: amx_addadmin "STEAM ID" "t"
.:: Credits ::.

mTc | Stenudd - Helping me with the check values.

.:: Requirments ::.

PHP Code:

#include <amxmodx>
#include <amxmisc>
#include <colorchat>
#include <fun>
#include <cstrike> 

.:: Items available in VIP Menu ::

  • 120 HP - 500$
  • 120 Armor - 500$
  • Deagle 7 Bullets - 700$
  • 500 Gravity - 1200$
  • USP 12 Bullets - 700$

drekes 09-15-2011 17:27

Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
 
Another one...

nikhilgupta345 09-15-2011 17:33

Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
 
Hope everybody reads this.

DO NOT POST VIP PLUGINS THAT DO NOT HAVE MORE FEATURES THAN CURRENT ONES.

Napoleon_be 09-16-2011 09:45

Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
 
Quote:

Originally Posted by nikhilgupta345 (Post 1556007)
Hope everybody reads this.

DO NOT POST VIP PLUGINS THAT DO NOT HAVE MORE FEATURES THAN CURRENT ONES.

/getvip added and there is comming more soon, suggestions are welcome if you think this is not enough!

Korxu 09-19-2011 11:20

Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
 
The plugin doesn't have any cvars?, make it more customizable...

ConnorMcLeod 09-19-2011 11:33

Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
 
Gravity, armor, health, weapon... Sorry but this is useless, unapproved.


About code :
PHP Code:

public Ham_PlayerSpawn(id)
{
    if(
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
ColorChat(idTEAM_COLOR"%s You gained a FlashBang because a new round has began!"g_szPrefix)
        
give_item(id"weapon_flashbang")
    }
    else
    {
        
ColorChat(idTEAM_COLOR"%s You didn't receive a FlashBang because you're not VIP! type /getvip to get VIP!"g_szPrefix)
    }
}

public 
PlayerSpawn(id)
{
    if(
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
ColorChat(idTEAM_COLOR"%s You gained a Smoke Grenade because a new round has begun!"g_szPrefix)
        
give_item(id"weapon_smokegrenade")
    }
    else
    {
        
ColorChat(idTEAM_COLOR"%s You didn't receive a Smoke Grenade because you're not VIP! type /getvip to get VIP!"g_szPrefix)
    }


...

Fjeddy 10-08-2017 03:34

Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
 
Got to say, it's pretty lame to not approve a plugin just because YOU don't think it holds enough functionality.

For the trollers: I don't care how old this topic is.

HamletEagle 10-08-2017 04:51

Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
 
Quote:

Originally Posted by Fjeddy (Post 2553152)
Got to say, it's pretty lame to not approve a plugin just because YOU don't think it holds enough functionality.

For the trollers: I don't care how old this topic is.

If you think more you'll understand the reason. Read this two topics:
https://forums.alliedmods.net/showthread.php?t=11201
https://forums.alliedmods.net/showthread.php?t=21956

And if it's still not clear enough let me explain further. We have a lot of plugins and we want to focus on quality, not quantity. Approved plugins section is a selection of the best plugins(this means good code and unique idea). We are not going to approve plugins that for example print a message or play a sound, this is not enough to be considered good.
Also if something was done before and you don't bring anything new then why we should approve it? There are already approved plugins that can do that.

People need to understand that new plugins section is a queue for plugins. You are submitting it to be reviewed so it's place is decided: either approved or unapproved plugins.
With this system we want to provide, as it was said countless times, a selection of well done and solid plugins.

Unapproved plugins are still there, people can still use them. We did not remove or trash it, we just said it does not meet the requirements to be approved.

Napoleon_be 10-10-2017 06:58

Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
 
I'm kind of emberrased if i look at this code. This is very poorly coded and indeed not worthy enough to be approved.

HamletEagle 10-11-2017 13:45

Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
 
If you think yours is embarrassing just look at this: https://forums.alliedmods.net/showthread.php?t=225481 :oops:


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

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