AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Vip Menu (https://forums.alliedmods.net/showthread.php?t=272245)

BN Houssam 09-26-2015 16:00

Vip Menu
 
1 Attachment(s)
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 }
*/ 


dr hicham 09-26-2015 17:18

Re: Vip Menu
 
Houssam Please Stop Double Post Or You Will Get Banned Of The Fourm Please read some rules

B0oHL44L 09-28-2015 09:38

Re: Vip Menu
 
Get_Clip ? O.o

iGANGNAM 09-28-2015 09:56

Re: Vip Menu
 
It's Source servers forum not GoldSrc

BN Houssam 09-28-2015 12:59

Re: Vip Menu
 
Mrc li Sabni Mrc :3 ;)

amir saiaoud 09-30-2015 08:57

Re: Vip Menu
 
i dont have anything to say to you more than read the rules


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

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