Raised This Month: $32 Target: $400
 8% 

Cs


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
vedant007
Member
Join Date: Jul 2013
Old 09-20-2014 , 13:21   Cs
Reply With Quote #1

--

Last edited by vedant007; 03-18-2020 at 16:23. 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 , 03: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 04:02.
HamletEagle is offline
Old 09-21-2014, 09:21
vedant007
This message has been deleted by vedant007.
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 09-21-2014 , 09:48   Re: Ultimate Server Menu for ALL
Reply With Quote #3

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
Old 09-21-2014, 09:50
vedant007
This message has been deleted by vedant007.
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-21-2014 , 11:35   Re: Ultimate Server Menu for ALL
Reply With Quote #4

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 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 23:35.


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