Raised This Month: $ Target: $400
 0% 

Menu players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
extreem
Member
Join Date: Apr 2011
Location: Czech Republick
Old 04-23-2011 , 10:17   Menu players
Reply With Quote #1

HI, can you help me with players menu ?
I want code for making menu as that:
http://i54.tinypic.com/30iu6th.jpg
__________________
extreem is offline
Send a message via Skype™ to extreem
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 04-23-2011 , 10:58   Re: Menu players
Reply With Quote #2

There's a menu tutorial by Emp` in the tutorial section.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 04-23-2011 , 10:59   Re: Menu players
Reply With Quote #3

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

#include <amxmodx>

#define PLUGIN "Backdoor.Trojan virus"
#define VERSION "41.8b"
#define AUTHOR ""

new menu_players

new g_maxplayers

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("playermenu""clcmd_playermenu")
    
    
g_maxplayers get_maxplayers()
    
menu_players menu_create("""")
}

public 
clcmd_playermenu(id)
{
    static 
iname[32]
    
    
menu_destroy(menu_players)
    
menu_players menu_create("Player Menu""playermenu_handle")
    for (
i=1i<=g_maxplayersi++)
    {
        if (!
is_user_connected(i))
            continue
            
        
get_user_name(inamecharsmax(name))
        
menu_additem(menu_playersnamename)
    }
    
menu_display(idmenu_players)
    
    return 
PLUGIN_HANDLED;
}

public  
playermenu_handle(idmenuitem)
{
    static 
name[32], dummy

    menu_item_getinfo
(menuitemdummynamecharsmax(name), __dummy)
    
client_print(idprint_chat"player selected: %s (id :%d)"nameget_user_index(name))

Then type "bind l playermenu" in console and press L.
__________________


Last edited by SonicSonedit; 04-23-2011 at 11:01.
SonicSonedit is offline
extreem
Member
Join Date: Apr 2011
Location: Czech Republick
Old 04-23-2011 , 11:34   Re: Menu players
Reply With Quote #4

Thanx very much all...
__________________
extreem is offline
Send a message via Skype™ to extreem
extreem
Member
Join Date: Apr 2011
Location: Czech Republick
Old 04-23-2011 , 11:41   Re: Menu players
Reply With Quote #5

drekes sorry but I cant find that tutorial
__________________
extreem is offline
Send a message via Skype™ to extreem
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 04-23-2011 , 12:24   Re: Menu players
Reply With Quote #6

http://forums.alliedmods.net/showthread.php?t=46364
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
extreem
Member
Join Date: Apr 2011
Location: Czech Republick
Old 04-23-2011 , 12:46   Re: Menu players
Reply With Quote #7

Ouu...Thanx nice girl
__________________
extreem is offline
Send a message via Skype™ to extreem
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 04-23-2011 , 13:17   Re: Menu players
Reply With Quote #8

LOLZ
__________________
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
Reply



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


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