Raised This Month: $ Target: $400
 0% 

MSG_ONE or MSG_ONE_UNRELIABLE with no target entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
alonelive
Senior Member
Join Date: Jan 2011
Location: Big snow country.. :)
Old 06-08-2013 , 11:21   MSG_ONE or MSG_ONE_UNRELIABLE with no target entity
Reply With Quote #1

Hello.. I have an error.. Can you fix code?

PHP Code:
...
new 
menucount 5

...
public 
menu_show(idopponent)
{
    
menucount--

    new 
szName[32], szOppName[32];
    
get_user_name(idszNamesizeof szName 1);
    
get_user_name(opponentszOppNamesizeof szOppName 1);
    
    new 
szTitle[64];
    
    
formatex(szTitlesizeof szTitle 1"\r%s \yMENU (\r%d\y)!"szNamemenucount);
    
    
iMenu menu_create(szTitle"menu_MainHandler"0);

    
menu_additem(iMenu"123",    "1"0, -1);
    
menu_additem(iMenu"12345""2"0, -1);
    
    
menu_setprop(iMenuMPROP_EXITMEXIT_NEVER);
   
    
menu_display(opponentiMenu0);
    
    
set_task(1.0"fnChallenge"48875
    
    if(
menucount == 0)
    {
        
menucount //set initial value
        
client_print(0print_chat"debug - end"
        
remove_task(48875)
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE

error calling in menu_display(opponent, iMenu, 0);
__________________
sorry my bad english...

Last edited by alonelive; 06-08-2013 at 11:22.
alonelive is offline
 


Thread Tools
Display Modes

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:27.


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