Raised This Month: $ Target: $400
 0% 

Solved Formatex menu dont show ingame


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
The overrated maniac
Member
Join Date: Jun 2021
Location: Argentina
Old 06-12-2021 , 09:23   Formatex menu dont show ingame
Reply With Quote #1

PHP Code:
public menu_stats(id){

static 
statsMenu[100]

formatex(statsMenucharsmax(statsMenu), "\wAccount stats");
new 
oMenu menu_create(statsMenu"handler_statsMenu" );

formatex(statsMenu,charsmax(statsMenu),"\wNick: \y")
menu_additem(oMenustatsMenu,"0"); 
formatex(statsMenu,charsmax(statsMenu),"\wPassword: \y")
menu_additem(oMenustatsMenu,"1"); 
formatex(statsMenu,charsmax(statsMenu),"\wLifes: \y%d",g_lifes[id])
menu_additem(oMenustatsMenu,"2"); 
formatex(statsMenu,charsmax(statsMenu),"\wFrags: \y%d",g_frags[id])
menu_additem(oMenustatsMenu,"3"); 
formatex(statsMenu,charsmax(statsMenu),"\wKills: \y%d",g_kills[id])
menu_additem(oMenustatsMenu,"4"); 


public 
handler_statsMenu(idmenu_statsitem){
    switch(
item){
        case 
MENU_EXIT: {
            
menu_destroy(menu_stats);
            
Main_menu(id);
        }
    }

It compile and ingame it enters the function because I try a print_chat, I dont know why it dosnt show, what I'm doing bad?

Last edited by The overrated maniac; 06-13-2021 at 03:55.
The overrated maniac 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 02:31.


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