Dialog
#1

PHP код:
   case 55:
        {
            for(new 
idx=1idx<MAX_HOUSESidx++)
            {
                
format(line1sizeof(line1), "%s"HouseInfo[idx][hOwner]);
                
format(stringsizeof(string), "House Owner %s."line1);
            }
            
ShowPlayerDialog(playerid55DIALOG_STYLE_MSGBOX"{FF9900}House Owner",string"Ok""Cancel");
        } 
I have problem. That show me only "House Owner ." but i want do see "House Owner Mike_Night.". Help?
Reply
#2

Help?
Reply
#3

For loop goes on till MAX_HOUSES as you must not having all houses owned do the last one will be empty and so the name is ""which is null so it shows only house owner not name
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)