Raised This Month: $12 Target: $400
 3% 

Simple VIP Menu. Smoke & flash at respawn.


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 09-15-2011 , 14:19   Simple VIP Menu. Smoke & flash at respawn.
Reply With Quote #1

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$
Attached Files
File Type: sma Get Plugin or Get Source (vipmenu.sma - 410 views - 3.5 KB)

Last edited by Napoleon_be; 11-07-2018 at 13:03. Reason: Rewritten the code
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 09-15-2011 , 17:27   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #2

Another one...
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-15-2011 , 17:33   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #3

Hope everybody reads this.

DO NOT POST VIP PLUGINS THAT DO NOT HAVE MORE FEATURES THAN CURRENT ONES.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 09-16-2011 , 09:45   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #4

Quote:
Originally Posted by nikhilgupta345 View Post
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!
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Old 09-16-2011, 14:25
Napoleon_be
This message has been deleted by ConnorMcLeod. Reason: triple post, use edit button !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Old 09-19-2011, 10:53
Napoleon_be
This message has been deleted by ConnorMcLeod. Reason: triple post, use edit button !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Korxu
Senior Member
Join Date: Sep 2010
Old 09-19-2011 , 11:20   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #5

The plugin doesn't have any cvars?, make it more customizable...
Korxu is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-19-2011 , 11:33   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #6

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)
    }

...
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 09-19-2011 at 11:36.
ConnorMcLeod is offline
Fjeddy
Junior Member
Join Date: Oct 2017
Old 10-08-2017 , 03:34   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #7

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.

Last edited by Fjeddy; 10-08-2017 at 03:34.
Fjeddy is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-08-2017 , 04:51   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #8

Quote:
Originally Posted by Fjeddy View Post
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.
__________________

Last edited by HamletEagle; 10-08-2017 at 04:56.
HamletEagle is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 10-10-2017 , 06:58   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #9

I'm kind of emberrased if i look at this code. This is very poorly coded and indeed not worthy enough to be approved.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-11-2017 , 13:45   Re: New VIP Menu! [ADMIN_LEVEL_H][FLAG T]
Reply With Quote #10

If you think yours is embarrassing just look at this: https://forums.alliedmods.net/showthread.php?t=225481
__________________

Last edited by HamletEagle; 10-11-2017 at 13:46.
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 04:01.


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