Raised This Month: $51 Target: $400
 12% 

Informations of Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
noureddine.nasr
BANNED
Join Date: Sep 2013
Location: Morocco
Old 12-29-2013 , 06:59   Informations of Commands
Reply With Quote #1

Description:
this plugin it have a Commands for view a information of server owner ....

Commands :
/fb
/skype
/rules
/owner

How To Add :
add Information.amxx to addons/amxmodx/plugins
add Information.sma to addons/amxmodx/scripting
open plugins.ini on addons/amxmodx/configs
write Information.amxx
add rules.txt to addons/amxx/


Sorry if he are sample he are my first plugin Counter Strike 1.6




Next Plugin He be good !

DOWNLOAD :

Attached Files
File Type: sma Get Plugin or Get Source (Information.sma - 666 views - 1.5 KB)
File Type: zip addons.zip (293 Bytes, 84 views)
noureddine.nasr is offline
Groven
AlliedModders Donor
Join Date: Apr 2011
Location: Sweden
Old 12-29-2013 , 07:02   Re: Informations of Commands
Reply With Quote #2

I love your English <3. GL with the plugin
Groven is offline
noureddine.nasr
BANNED
Join Date: Sep 2013
Location: Morocco
Old 12-29-2013 , 08:09   Re: Informations of Commands
Reply With Quote #3

HAHA p.s : Im Arabic and i know Frensh & English
noureddine.nasr is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 12-29-2013 , 08:46   Re: Informations of Commands
Reply With Quote #4

Crap. Just, crap.
This is one of the worst plugins I've ever seen.

1. No proper Coding Style.
2. You create useless variables.
3. You've made two pointers for CVars, but you are not creating any CVars.
4. Almost everything is hardcoded.
5. admin_rules can't be called by players.
6. Why are you registering a concmd in a function and not in plugin_init?
7. You don't have to include cstrike and fun.

Plugin will be unapproved for sure.
__________________
Kia is offline
Old 12-29-2013, 09:49
tonykaram1993
This message has been deleted by ConnorMcLeod. Reason: not needed
Old 12-29-2013, 12:29
ironskillz1
This message has been deleted by ConnorMcLeod. Reason: not needed
Old 12-29-2013, 12:48
BLacking98
This message has been deleted by ConnorMcLeod. Reason: not needed
Old 12-29-2013, 14:23
al3amri
This message has been deleted by ConnorMcLeod. Reason: not needed
Old 12-29-2013, 15:20
BLacking98
This message has been deleted by ConnorMcLeod. Reason: not needed
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 12-29-2013 , 16:59   Re: Informations of Commands
Reply With Quote #5

Your answers should be "Please dont release plugins when you are beginner."
You are too agressive, you shouldnd play so many time cs
__________________

Last edited by ConnorMcLeod; 12-30-2013 at 01:58.
Jhob94 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 12-29-2013 , 17:02   Re: Informations of Commands
Reply With Quote #6

Should be common sense to not release as a beginner since this was mentioned on multiple new plugins in last time.

Aggressive? You don't want to see me angry (since it's impossible).
__________________
Kia is offline
Old 12-29-2013, 17:06
Jhob94
This message has been deleted by Jhob94. Reason: You dont need to be angry to be agressive. Well, in fact its better to be agressive when you are angry, because at least in t
Old 12-29-2013, 20:53
BLacking98
This message has been deleted by ConnorMcLeod. Reason: not needed
Old 12-29-2013, 20:56
Blizzard_87
This message has been deleted by ConnorMcLeod. Reason: not needed
Old 12-29-2013, 21:49
Mofforg
This message has been deleted by ConnorMcLeod. Reason: not needed
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-30-2013 , 01:55   Re: Informations of Commands
Reply With Quote #7

Poorly coded, poorly indented, hardcoded : Unapproved.

Please don't release anymore plugins for now, try to learn more and to improve yourself a lot before.
If you have specific questions the scripting/help forum is there for you.


Also (it has already been said but i hadn't read all posts carefully) :

Code:
public admin_rules(id,level,cid){
    if (!cmd_access(id,level,cid,1))         return PLUGIN_HANDLED         show_motd(id,"/addons/amxx/regles.txt","Server Rules")     new name[32]     get_user_name(id,name,31)     client_print(0,print_chat,"stop shoot s% He Read rules!!",name)     return PLUGIN_HANDLED   
        register_concmd("say /rules","admin_rules",0,"< Server Rules >") 
        return PLUGIN_HANDLED }

You can't register a command in its own callback, the register line won't ever be called, + here compiler should warn abour unreachable code.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-30-2013 at 01:59.
ConnorMcLeod is offline
Old 12-30-2013, 08:47
Jhob94
This message has been deleted by Jhob94. Reason: Oh, didnt saw you said that too :3
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 05:35.


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