Raised This Month: $ Target: $400
 0% 

Request a plugin Vip Menu Jb


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KING of Gold
Member
Join Date: Dec 2017
Old 12-15-2017 , 11:32   Request a plugin Vip Menu Jb
Reply With Quote #1

Hi
I want a plugin vip menu for jail break, which is in the menu 2, one speed and one gravity
Example:

Vip Menu Jail Berack

1. Gravity [On/Off]
2. Speed [On/Off]

9. Close

If you can please find me.
__________________
Cs KING of Gold
AlferD

Last edited by KING of Gold; 12-15-2017 at 11:41.
KING of Gold is offline
Byte
Senior Member
Join Date: Jun 2010
Location: 📦 CCSPlayer
Old 12-15-2017 , 11:45   Re: Request a plugin Vip Menu Jb
Reply With Quote #2

Maybe mention the game.
And what do you mean by gravity ON/OFF, speed ON/OFF?

Is it low gravity/normal gravity?
Fast speed/normal speed?
__________________
STEAM: /id/invexbyte | Github: Mo Beigi | Discord: Byte#0017
Community: Invex Gaming | My Plugins: Click Me!

Byte is offline
KING of Gold
Member
Join Date: Dec 2017
Old 12-15-2017 , 11:46   Re: Request a plugin Vip Menu Jb
Reply With Quote #3

yes
I want a Vipmenu For Vips That Vip Can Acsess To Gravity And Speed More Of The Player
__________________
Cs KING of Gold
AlferD

Last edited by KING of Gold; 12-15-2017 at 11:54.
KING of Gold is offline
joac1144
Senior Member
Join Date: Dec 2012
Location: Copenhagen, Denmark
Old 12-15-2017 , 12:18   Re: Request a plugin Vip Menu Jb
Reply With Quote #4

You still need to specify what game it is for.
__________________
joac1144 is offline
F a R a Z
Junior Member
Join Date: Dec 2017
Location: Nour
Old 12-16-2017 , 05:58   Re: Request a plugin Vip Menu Jb
Reply With Quote #5

For Counter Strike 1.6
F a R a Z is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 12-16-2017 , 06:37   Re: Request a plugin Vip Menu Jb
Reply With Quote #6

your asking in the wrong section
__________________
8guawong is offline
KING of Gold
Member
Join Date: Dec 2017
Old 12-17-2017 , 12:20   Re: Request a plugin Vip Menu Jb
Reply With Quote #7

This menu has been viewed on a server
__________________
Cs KING of Gold
AlferD
KING of Gold is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-17-2017 , 14:38   Re: Request a plugin Vip Menu Jb
Reply With Quote #8

Quote:
Originally Posted by KING of Gold View Post
This menu has been viewed on a server
How does this information help?!
__________________

Last edited by OciXCrom; 12-17-2017 at 14:38.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Famdl
Junior Member
Join Date: Mar 2017
Old 12-17-2017 , 17:31   Re: Request a plugin Vip Menu Jb
Reply With Quote #9

Quote:
Originally Posted by OciXCrom View Post
How does this information help?!
I think he`s just bumping his thread
Quote:
Originally Posted by F a R a Z View Post
For Counter Strike 1.6
why did you opened two threads with different accounts and Requesting one thing ?! anyway with a little search found it. This will give gravity or speed to vips on their choice. and on respawn their Gravity and speed will be normal. openmenu command /vipmenu
Persian:Faraz Jan test kon agar Taghiri mikhasti begoo anjam midam. dar zemn ghanoona ro ham re`ayat kon
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
#include <fun>

#pragma semicolon 1

#define PLUGIN "VIP Menu"
#define VERSION "1.0"
#define AUTHOR "FuckTheSchool"

#define Speed 400.0 // Must remain a float.
#define Gravity 400.0 // Must remain a float.
#define Access ADMIN_LEVEL_H // Edit the access to use /vipmenu.


new Benefited[33];

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
RegisterHam(Ham_Spawn"player""HamBurger_Spawn");
    
    
register_clcmd("say /vipmenu""CmdVIPMenu");
}

public 
HamBurger_Spawn(id)
{
    
Benefited[id] = false;
}

public 
CmdVIPMenu(id)
{
    if(
get_user_flags(id) & Access)
    {
        if(!
Benefited[id])
        {
            new 
Format[64];
            
            new 
VIPMenu menu_create("Choose your benefits:""HandleCmdVIPMenu");

            
menu_additem(VIPMenu"Speed");
            
menu_additem(VIPMenu"400 Gravity");
                                        
            
menu_display(idVIPMenu);
            
        }
        else
            
ColorChat(id"^4You have already used your rewards!");
    }
    else
        
ColorChat(id"^4You have no access to this command!");

}

public 
HandleCmdVIPMenu(idVIPMenuitem)
{
    if(
item == MENU_EXIT) return;
    
    switch(
item+1)
    {
        case 
1set_user_maxspeed(idSpeed);
        case 
2
        {
            new 
Float:Grav Gravity/get_cvar_pointer("sv_gravity"); // Gravity will always act as 400 and will not be compared to current server gravity.
            
set_user_gravity(idGrav);
        }
    }
    
Benefited[id] = true;
}
stock ColorChat(const index, const string[], {FloatSqlResul,_}:...) 
{
    new 
msg[191], players[32], count 1;
    
    static 
len;
    
len formatex(msgcharsmax(msg), "^4[PREFIX]^1 "); // Edit the prefix here.
    
vformat(msg[len], charsmax(msg) - lenstring3);
    
    if(
index)    players[0] = index;
    else    
get_players(players,count,"ch");
    
    for (new 
0counti++)
    {
        if(
is_user_connected(players[i]))
        {
            
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"),_players[i]);
            
write_byte(players[i]);
            
write_string(msg);
            
message_end();
        }
    }


Last edited by Famdl; 12-17-2017 at 18:46. Reason: Typo
Famdl is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 12-17-2017 , 18:27   Re: Request a plugin Vip Menu Jb
Reply With Quote #10

Quote:
Originally Posted by Famdl View Post
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
#include <fun>

#pragma semicolon 1

#define PLUGIN "VIP Menu"
#define VERSION "1.0"
#define AUTHOR "FuckTheSchool"

#define Speed 400.0 // Must remain a float.
#define Gravity 400.0 // Must remain a float.
#define Access ADMIN_LEVEL_H // Edit the access to use /vipmenu.


new Benefited[33];

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
RegisterHam(Ham_Spawn"player""HamBurger_Spawn");
    
    
register_clcmd("say /vipmenu""CmdVIPMenu");
}

public 
HamBurger_Spawn(id)
{
    
Benefited[id] = false;
}

public 
CmdVIPMenu(id)
{
    if(
get_user_flags(id) & Access)
    {
        if(!
Benefited[id])
        {
            new 
Format[64];
            
            new 
VIPMenu menu_create("Choose your benefits:""HandleCmdVIPMenu");

            
menu_additem(VIPMenu"Speed");
            
menu_additem(VIPMenu"400 Gravity");
                                        
            
menu_display(idVIPMenu);
            
        }
        else
            
ColorChat(id"^4You have already used your rewards!");
    }
    else
        
ColorChat(id"^4You have no access to this command!");

}

public 
HandleCmdVIPMenu(idVIPMenuitem)
{
    if(
item == MENU_EXIT) return;
    
    switch(
item+1)
    {
        case 
0set_user_maxspeed(idSpeed);
        case 
1
        {
            new 
Float:Grav Gravity/get_cvar_pointer("sv_gravity"); // Gravity will always act as 400 and will not be compared to current server gravity.
            
set_user_gravity(idGrav);
        }
    }
    
Benefited[id] = true;
}
stock ColorChat(const index, const string[], {FloatSqlResul,_}:...) 
{
    new 
msg[191], players[32], count 1;
    
    static 
len;
    
len formatex(msgcharsmax(msg), "^4[PREFIX]^1 "); // Edit the prefix here.
    
vformat(msg[len], charsmax(msg) - lenstring3);
    
    if(
index)    players[0] = index;
    else    
get_players(players,count,"ch");
    
    for (new 
0counti++)
    {
        if(
is_user_connected(players[i]))
        {
            
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"),_players[i]);
            
write_byte(players[i]);
            
write_string(msg);
            
message_end();
        }
    }

Wrong, Incorrect.

Use this
Code:
#include <amxmodx> #include <amxmisc> #include <fun> #define ADMIN_FLAG ADMIN_LEVEL_H #define GRAVITY 0.5 #define SPEED 800.0 new bool: gravity[33]; new bool: speed[33]; public plugin_init()     register_clcmd("say /vip", "clcmd_vip", ADMIN_FLAG); public clcmd_vip(id, level, cid){     if(is_user_alive(id) && cmd_access(id, level, cid, 3))         return 0;     new menu = menu_create("VIP Menu", "handler");     new formatex_gravity[20], formatex_speed[20];     formatex(formatex_gravity, charsmax(formatex_gravity), "Gravity [%s]", gravity[id] ? "ON" : "\rOFF\w");     formatex(formatex_speed, charsmax(formatex_speed), "Speed [%s]", speed[id] ? "ON" : "\rOFF\w");     menu_additem(menu, formatex_gravity);     menu_additem(menu, formatex_speed);     menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);     menu_display(id, menu);     return 0; } public handler(id, menu, item){     switch(item){         case MENU_EXIT: menu_destroy(menu);         case 0: {             if(gravity[id]){                 set_user_gravity(id, 1.0)                 gravity[id] = false;             }             else {                 set_user_gravity(id, GRAVITY);                 gravity[id] = true;             }         }                 case 1: {             if(speed[id]){                 set_user_maxspeed(id, 400.0)                 speed[id] = false;             }             else {                 set_user_maxspeed(id, SPEED);                 speed[id] = true;             }         }     }     return 1; }
__________________

Last edited by Relaxing; 12-17-2017 at 19:16. Reason: stuff and things
Relaxing 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 19:18.


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