Raised This Month: $ Target: $400
 0% 

Error but what??


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 04-07-2009 , 12:17   Re: Error but what??
Reply With Quote #1

Maybe this? :/
PHP Code:
public menu_handler(idmenuitem)
{
    if (
item == MENU_EXIT)
    {
        
menu_destroy(menu)
        return 
PLUGIN_HANDLED;
    }
    new 
data[6]//, iName[64]
    //new access, callback
    //menu_item_getinfo(menu, item, access, data,5, iName, 63, callback)
    
new key str_to_num(data)
    switch(
key)
    {
        case 
1:
        {
            
Level=1
            menu_destroy
(menu)
        }
        case 
2:
        {
            
Level=2
            menu_destroy
(menu)
        }
        case 
3:
        {
            
Level=3
            menu_destroy
(menu)
        }
        case 
4:
        {
            new 
temp[2048]
            
add(temp,2047,"<html><head><style>^n")
            
add(temp,2047,"body { background-color:#000000; color:#FFFFFF; font-family:Verdana; font-size:7pt; }^n")
            
add(temp,2047,"</style></head><body>^n")
            
add(temp,2047,"<b>This is a AMXX-Plugin,& was writed by p4ddy, Edited/Translated/Endbugsed by One. There are 2 Teams & the Catcher-team have to catch the Fleer-Team. When anyone would be catched he is dead & have to wait for new round. The Cather become 1 Point for this & by sorvive the Team become 5 Points.</b>^n")
            
add(temp,2047,"<b>How can i use my Turbo?</b><br>Prees the +attack2 key. (Standard rightmouse key)<br><br>^n")
            
add(temp,2047,"<b>How can i boost my M8?</b><br>Your M8 has to getting on you & you have just to shoot.<br><br>^n")
            
add(temp,2047,"<b>How can i see my Stats?</b><br>Say in chat <b>!stats</b>.<br><br>^n")
            
add(temp,2047,"<b>Why am i slower?</b><br>1. delete this 3 CVars in you´r config.cfg (cl_forwardspeed, cl_sidespeed, cl_backspeed).<br>2. set this Cvats on 9999.<br><br>^n")
            
add(temp,2047,"<b>Why i cant runing more on Edgs?</b><br>Just try with a Duckjump :-D.<br><br>^n")
            
add(temp,2047,"<b>I touched a player, but he is not dead?</b><br>This is just a Ping-bug. Dont worry about this.<br><br>^n")
            
add(temp,2047,"<b>How can i contact the Scripter?</b><br>E-Mail: <b>[email protected]</b> or <b>www.cs-rocekrs.de</b> or <b>www.cs-rockers.de/forum/ </b>.^n")
            
add(temp,2047,"</body></html>")
        
            
show_motd(id,temp,"Creazy Mazy Helpmenu")
        }
    }
    
menu_destroy(menu)
    return 
PLUGIN_HANDLED;

xbatista is offline
Send a message via Skype™ to xbatista
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-07-2009 , 12:20   Re: Error but what??
Reply With Quote #2

the same...

PHP Code:
L 04/07/2009 18:19:48Invalid menu id 7(9)
L 04/07/2009 18:19:48: [AMXXDisplaying debug trace (plugin "Untitled.amxx")
L 04/07/2009 18:19:48: [AMXXRun time error 10native error (native "menu_destroy")
L 04/07/2009 18:19:48: [AMXX]    [0Untitled.sma::menu_handler (line 142 ..... 
EDIT :

EDIT :

error by new code :

PHP Code:
L 04/07/2009 18:21:46: [AMXXRun time error 10native error (native "menu_destroy")
L 04/07/2009 18:21:46: [AMXX]    [0Untitled.sma::menu_handler (line 145)
L 04/07/2009 18:21:46Invalid menu id 2(9)
L 04/07/2009 18:21:46: [AMXXDisplaying debug trace (plugin "Untitled.amxx")
L 04/07/2009 18:21:46: [AMXXRun time error 10native error (native "menu_destroy")
L 04/07/2009 18:21:46: [AMXX]    [0Untitled.sma::menu_handler (line 145)
L 04/07/2009 18:21:46Invalid menu id 4(9)
L 04/07/2009 18:21:46: [AMXXDisplaying debug trace (plugin "Untitled.amxx")
L 04/07/2009 18:21:46: [AMXXRun time error 10native error (native "menu_destroy")
L 04/07/2009 18:21:46: [AMXX]    [0Untitled.sma::menu_handler (line 145)
L 04/07/2009 18:21:46Invalid menu id 5(9)
L 04/07/2009 18:21:46: [AMXXDisplaying debug trace (plugin "Untitled.amxx")
L 04/07/2009 18:21:46: [AMXXRun time error 10native error (native "menu_destroy")
L 04/07/2009 18:21:46: [AMXX]    [0Untitled.sma::menu_handler (line 145)
L 04/07/2009 18:21:46Invalid menu id 6(9)
L 04/07/2009 18:21:46: [AMXXDisplaying debug trace (plugin "Untitled.amxx")
L 04/07/2009 18:21:46: [AMXXRun time error 10native error (native "menu_destroy")
L 04/07/2009 18:21:46: [AMXX]    [0Untitled.sma::menu_handler (line 145)
Compressing saving Experience Data...this may take a while!
Expe 
new code :

PHP Code:
public menu_handler(idmenuitem)
{
    if (
item == MENU_EXIT)
    {
        
menu_destroy(menu)
    }
    new 
data[6]//, iName[64]
    //new access, callback
    //menu_item_getinfo(menu, item, access, data,5, iName, 63, callback)
    
new key str_to_num(data)
    switch(
key)
    {
        case 
1:
        {
            
Level=1
            menu_destroy
(menu)
            return 
PLUGIN_HANDLED;
        }
        case 
2:
        {
            
Level=2
            menu_destroy
(menu)
            return 
PLUGIN_HANDLED;
        }
        case 
3:
        {
            
Level=3
            menu_destroy
(menu)
            return 
PLUGIN_HANDLED;
        }
        case 
4:
        {
            new 
temp[2048]
            
add(temp,2047,"<html><head><style>^n")
            
add(temp,2047,"body { background-color:#000000; color:#FFFFFF; font-family:Verdana; font-size:7pt; }^n")
            
add(temp,2047,"</style></head><body>^n")
            
add(temp,2047,"<b>This is a AMXX-Plugin,& was writed by p4ddy, Edited/Translated/Endbugsed by One. There are 2 Teams & the Catcher-team have to catch the Fleer-Team. When anyone would be catched he is dead & have to wait for new round. The Cather become 1 Point for this & by sorvive the Team become 5 Points.</b>^n")
            
add(temp,2047,"<b>How can i use my Turbo?</b><br>Prees the +attack2 key. (Standard rightmouse key)<br><br>^n")
            
add(temp,2047,"<b>How can i boost my M8?</b><br>Your M8 has to getting on you & you have just to shoot.<br><br>^n")
            
add(temp,2047,"<b>How can i see my Stats?</b><br>Say in chat <b>!stats</b>.<br><br>^n")
            
add(temp,2047,"<b>Why am i slower?</b><br>1. delete this 3 CVars in you´r config.cfg (cl_forwardspeed, cl_sidespeed, cl_backspeed).<br>2. set this Cvats on 9999.<br><br>^n")
            
add(temp,2047,"<b>Why i cant runing more on Edgs?</b><br>Just try with a Duckjump :-D.<br><br>^n")
            
add(temp,2047,"<b>I touched a player, but he is not dead?</b><br>This is just a Ping-bug. Dont worry about this.<br><br>^n")
            
add(temp,2047,"<b>How can i contact the Scripter?</b><br>E-Mail: <b>[email protected]</b> or <b>www.cs-rocekrs.de</b> or <b>www.cs-rockers.de/forum/ </b>.^n")
            
add(temp,2047,"</body></html>")
        
            
show_motd(id,temp,"Creazy Mazy Helpmenu")
        }
    }
    
menu_destroy(menu)
    return 
PLUGIN_HANDLED;

__________________

Last edited by One; 04-07-2009 at 12:23.
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Old 04-07-2009, 12:23
xbatista
This message has been deleted by xbatista. Reason: 0_o
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 02:18.


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