Raised This Month: $ Target: $400
 0% 

Vip Menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BN Houssam
BANNED
Join Date: Sep 2015
Location: Oujda
Old 09-26-2015 , 16:00   Vip Menu
Reply With Quote #1

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Vip Menu New"
#define VERSION "2.0"
#define AUTHOR "PlayBoy"

// access : vip = admin_flag "d" 

public plugin_init() {
register_clcmd("say /vmenu""vip_cmd");
RegisterHam(Ham_Spawn"player""clips_off"1
server_cmd("sv_maxspeed 1000"
}


public 
vip_cmd(id)
{
if( 
get_user_flags(id) & ADMIN_LEVEL_D || cs_get_user_teamid ) != CS_TEAM_CT || !is_user_alive(id) )
{
Vip(id)
}
}
public 
Vip(id)
{
new 
menu menu_create("\rVip Menu^n""Vip")

menu_additem(menu"\wGet Unlimited Clip^n"); 
menu_additem(menu"\wGet Speed Boost \r[+50%]^n""1")
menu_additem(menu"\wGet \r[150 Hp]""2")

menu_setprop(menuMPROP_EXITNAME"\wExit")
}
public 
Vip_2(idmenuitem)
{
if(
item == MENU_EXIT)
{
menu_destroy(menu)

}
new 
data[6], iName[64], accesscallback    
menu_item_getinfo
(menuitemaccessdata5iName63callback)
new 
key str_to_num(data)
switch(
key)

case 
0client_cmd(id,"Get_Clip")
case 
1set_user_maxspeed(idget_user_maxspeed(id) +250.0)
case 
2set_user_health(idget_user_health(id) +500)

}
return 
PLUGIN_HANDLED;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }
*/ 
Attached Files
File Type: sma Get Plugin or Get Source (Vip_Menu_New.sma - 719 views - 1.4 KB)
BN Houssam is offline
 



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:20.


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