Raised This Month: $ Target: $400
 0% 

problem with use button once plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
slypire
Junior Member
Join Date: May 2013
Old 08-13-2013 , 09:49   problem with use button once plugin
Reply With Quote #1

Hi guys, i fixed most errors on my server, only this left, I will post my .sma in attachments so if anyone know how to fix error please post here, or send me on PM and this is not default use button once, this is edited one so players cant pick weapon from the floor, but this bug have and official version too.

L 13/08/2012 - 18:11:24: Player 3 is not ingame
L 13/08/2012 - 18:11:24: [AMXX] Displaying debug trace (plugin "explosion_ubo.amxx")
L 13/08/2012 - 18:11:24: [AMXX] Run time error 10: native error (native "player_menu_info")
L 13/08/2012 - 18:11:24: [AMXX] [0] explosion_ubo.sma::show_menu_ (line 627)

This is code make error

PHP Code:
public show_menu_(tid){
    new 
id=tid-TASK_SHOWMENU;
    new 
iTeam=get_user_team(id);
    new 
menu_idkeys;
    new 
menuUp player_menu_infoidmenu_idkeys );
    
// Only display menu if another isn't shown
    
if ( iTeam && (menuUp <= || menu_id 0) ){
        new 
iTime=get_pcvar_num(gcvarFRVoteTime);
        new 
iOffset=get_systime()-giVoteStart;
        
iTime-=iOffset;
        new 
szMenu[128];
        
formatex(szMenu127"\yDa li zelite FreeRun?^n^n\w1. Da^n2. Ne");
        
show_menu(idKeysFFVoteszMenuiTime"FRVote");
    }else
        
set_task(0.0"show_menu_"tid);


Thanks in advance guys.
Attached Files
File Type: sma Get Plugin or Get Source (explosion_ubo.sma - 474 views - 18.9 KB)
slypire 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:00.


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