Raised This Month: $ Target: $400
 0% 

[HELP] Symbol Never Used


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
m4m3ts
Senior Member
Join Date: Jun 2012
Old 06-07-2013 , 09:49   [HELP] Symbol Never Used
Reply With Quote #1

i made this plugin & include file,

SMA

PHP Code:
#include <amxmodx>
#include <dinfinity>

#define PLUGIN "Shop"
#define VERSION "1.0"
#define AUTHOR "m4m3ts"


public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /wpn""MyMenu")
}

public 
MyMenu (id)
{
    new 
menu menu_create("Extra Weapon Menu","menu_handler")
    
menu_additem(menu"Dual Infinity Final","1",0);
    
menu_setprop(menuMPROP_EXITMEXIT_ALL)
    
menu_display(idmenu0);
    return 
PLUGIN_HANDLED
}

public 
menu_handler(idmenuitem)
{
    new 
data[6], szName[64];
    new 
accesscallback;
    
menu_item_getinfo(menuitemaccessdata,charsmax(data), szName,charsmax(szName), callback);
    new 
key str_to_num(data);
    switch(
key)
    {
        case 
1:
        {
                
give_dinfinity(id)
        }
    }

include

PHP Code:
#pragma reqlib "dinfinity"

give_dinfinity(id
but it has any error.



please someone fix it.
Attached Files
File Type: sma Get Plugin or Get Source (weapon_menu.sma - 474 views - 754 Bytes)
File Type: inc dinfinity.inc (48 Bytes, 85 views)
m4m3ts 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 16:14.


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