Raised This Month: $108 Target: $400
 27% 

Ultimate Server Menu for ALL


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
vedant007
Member
Join Date: Jul 2013
Location: India
Old 09-20-2014 , 14:21   Ultimate Server Menu for ALL
Reply With Quote #1

Purpose To make This : -

This Plugin includes 9 Menu items.
I just imagine that - Player have to type all commands which is important like nextmap,Resetscore & Admins online,Rock the vote & more.So I make a menu that includes all this important Commands

Description : -

This Menu includes 8 CMDS , 1 Dhud message ( Plugin - Arkshine ) for server MODS Which are as follows -
1. Admins Online -- admin_check plugin
2. Server MODS -- dhud_message plugin ( Special Thanks )
3. Your Rank ( Player ) -- new_style_rank Plugin
4. To Become Admin ( For more edition in this Look below ) -- Color say text
5. Player Useful CMDS -- Color say text
6. Reset Your Score -- Advanced Resetscore plugin
7. Rock The Vote for Nextmap -- rtv plugin
8. Top 15 -- "cmd /top15"
9. Your All-Over Score -- Score info plugin CMD- /myscore

*All the plugins commands which is used for this menu are changed for this menu

Installations : -

--To use this menu make sure that you have compiled all the plugins locally & put in pluginS folder

Things You can Modify :-

--You can Change the items per page in menu for that Change : -

Quote:
menu_setprop(menu, MPROP_PERPAGE, 5);
--You can Change the Dhud message in dhud_message_mods.sma change HUD Message.

--If you want to change any clcmds first you have to change their Main source .

Lets take an Example ---

Menu item 3. Your Rank
You can change its main cmd in new_style_rank plugin
Find
register_clcmd("say /newrank", "cmdShowRank"); & change as you want & then change in the Main plugin's Menu Handlers Like : - change client_cmd say /newrank to change as you changed in your source plugin.

*-* Make sure that your menu item does not mismatch with your Menu Handlers..

ThankS .
Attached Files
File Type: zip Ultimate Server Menu .zip (43.1 KB, 350 views)
__________________
Steam-vedubot
Working ON COD:Black OPPS On Cs 1.6 & CZ
Plugins-
1.Angraa BoSS
2.Ultimate Server Menu

Last edited by vedant007; 09-21-2014 at 02:12. Reason: Modifiction ( New )
vedant007 is offline
Send a message via Skype™ to vedant007
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-21-2014 , 04:59   Re: Ultimate Server Menu for ALL
Reply With Quote #2

For me, it seems useless. If you can explain the purpose it will be good.

1. Your menu is not dinamyc, so you can create it in plugin_cfg.
2. menu_setprop(menu, MPROP_EXIT, MEXIT_ALL); it's default, you don't have to add it.
3.
Code:
new command[6], name[64], access, callback; menu_item_getinfo(menu, item, access, command, sizeof command - 1, name, sizeof name - 1, callback);

You don't need to get menu info.

4. In color_saytext: cache get_user_msgid("SayText")
5.
Code:
public connectmessage(id) {     if(is_user_connected(id))     {         color_saytext(id, "^x01[^x04 Server Name ^x01] ^x01Say ^x04/smenu ^x01 to use usefull commands & more.") // After changing clcmd you can edit in this.     } }

Where are you calling this ? Because, it's not a default amxx forward or sth, so it won't ever get executed. Also, if you want a connect message, set a task to 3.0 seconds from client_putinserver.

I know you are a beginner, it's good to start with easy plugins, this make you want to do more, to advance, but this is crap.

For "[Server Name]" from messages, you can create a cvar, so it would be easy to modify.

And what if the server owners like your plugin but don't like your custom plugins ? You are forcing them to use it.

This may have potential, if it's done corectly. Create a ini file in which peoples can add they own command and menu items name, then create a menu with the file content. You won't need to provide another plugins with your one, so you don't force server owners to use this plugins, everything will be dynamic.
__________________

Last edited by HamletEagle; 09-21-2014 at 05:02.
HamletEagle is online now
vedant007
Member
Join Date: Jul 2013
Location: India
Old 09-21-2014 , 10:21   Re: Ultimate Server Menu for ALL
Reply With Quote #3

Thank You HamletEagle.
I have solved your Server name & get_user_msgid Suggestions .
But can u please give that .ini code for modification please.
__________________
Steam-vedubot
Working ON COD:Black OPPS On Cs 1.6 & CZ
Plugins-
1.Angraa BoSS
2.Ultimate Server Menu

Last edited by vedant007; 09-21-2014 at 10:21.
vedant007 is offline
Send a message via Skype™ to vedant007
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 09-21-2014 , 10:48   Re: Ultimate Server Menu for ALL
Reply With Quote #4

This is just several plugins added into a menu. Please post here when you have a better understanding of how to write your own plugins.

Unapproved.
hornet is offline
vedant007
Member
Join Date: Jul 2013
Location: India
Old 09-21-2014 , 10:50   Re: Ultimate Server Menu for ALL
Reply With Quote #5

Quote:
Originally Posted by hornet View Post
This is just several plugins added into a menu. Please post here when you have a better understanding of how to write your own plugins.

Unapproved.
Yes you are right but can you please give me that how can I add several plugin into an API ".ini" file
If you will give that it will be helpful for me .
__________________
Steam-vedubot
Working ON COD:Black OPPS On Cs 1.6 & CZ
Plugins-
1.Angraa BoSS
2.Ultimate Server Menu

Last edited by vedant007; 09-21-2014 at 11:01.
vedant007 is offline
Send a message via Skype™ to vedant007
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-21-2014 , 12:35   Re: Ultimate Server Menu for ALL
Reply With Quote #6

You didn't get what I mean. You create a "configuration file", in which peoples write their own commands like:
Code:
ResetScore "say /rs"
Test           "say /test"
Then, your plugin will read this file and add as items ResetScore and Test, and as command what is near them, "say /rs", "say /test".
__________________
HamletEagle is online now
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 06:28.


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