Raised This Month: $ Target: $400
 0% 

Error but what??


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-07-2009 , 12:13   Error but what??
Reply With Quote #1

lol ??

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)
        }
        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)

console :

PHP Code:


L 04
/07/2009 18:09:44Invalid menu id 17(18)
L 04/07/2009 18:09:44: [AMXXDisplaying debug trace (plugin "Untitled.amxx")
L 04/07/2009 18:09:44: [AMXXRun time error 10native error (native "menu_destroy")
L 04/07/2009 18:09:44: [AMXX]    [0Untitled.sma::menu_handler (line 142
line 142 : menu_destroy(menu)

WTF????
__________________
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
 



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