Raised This Month: $ Target: $400
 0% 

Warning with Compiler


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mifuntm
Senior Member
Join Date: Feb 2008
Location: in space...
Old 08-12-2011 , 06:56   Warning with Compiler
Reply With Quote #1

Please check what is wrong wit code because i have warning when try compile.
Thanks!


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

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Menu"
#define VERSION "1.0"
#define AUTHOR "Szymek"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    register_clcmd("say /menu", "menu");
    register_clcmd("say_team /menu", "menu");
}
public menu(id)
{
    new menu = menu_create("\yMenu DR", "menu_Handle");
    menu_additem(menu, "\wSlep");
    menu_additem(menu, "\wPunkty");
    menu_additem(menu, "\wRegulamin");
    menu_additem(menu, "\rCzapki");
    menu_additem(menu, "\wSzlaczek 1");
    menu_additem(menu, "\ySzlaczek 2");
    menu_additem(menu, "\ySzlaczek 3");
    menu_display(id, menu);
}
public menu_Handle(id,menu,item)
{
    if(item == MENU_EXIT)
{
    menu_destroy(menu);
    return PLUGIN_CONTINUE;
}
    menu_display(id, menu);
    switch(item)
        {
        case 0:
        {
            client_cmd(id,"say /drshop")
        }
        case 1:
        {
            client_cmd(id,"say /mypoints")
        }
        case 2:
        {
            client_cmd(id,"say /zasady")
        }
        case 3:
        {
            client_cmd(id,"say /hats")
        }
        case 4:
        {
            client_cmd(id,"say trail 10 red")
        }
        case 5:
        {
            client_cmd(id,"say trail 5 green")
        }
        case 6:
        {
            client_cmd(id,"say trail 5 yellow")
        }
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par }
*/
__________________
Only God can judge me...
Mifuntm is offline
 



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 03:28.


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