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_id, keys;
new menuUp = player_menu_info( id, menu_id, keys );
// Only display menu if another isn't shown
if ( iTeam && (menuUp <= 0 || menu_id < 0) ){
new iTime=get_pcvar_num(gcvarFRVoteTime);
new iOffset=get_systime()-giVoteStart;
iTime-=iOffset;
new szMenu[128];
formatex(szMenu, 127, "\yDa li zelite FreeRun?^n^n\w1. Da^n2. Ne");
show_menu(id, KeysFFVote, szMenu, iTime, "FRVote");
}else
set_task(0.0, "show_menu_", tid);
}
Thanks in advance guys.