many strings
#1

PHP код:
                if(PlayerData[playerid][FonduriEuro] < PRETCASANOUA) return SendClientMessage(playeridCOLOR_YELLOW2"Nu ai destule fonduri");
                
PlayerData[playerid][FonduriEuro] = PlayerData[playerid][FonduriEuro] - PRETCASANOUA;
                
titles "Ai cumparat o casa  ";
                
strings "{FFFFFF}Tocmai ai achizitionat o casa din itemshop,multumim\n";
                
strcat(strings"{FFFFFF}Te rugam sa faci un {FF3300}PRINTSCREEN[F8]{FFFFFF} si sa contactezi un owner pentru detalii\n");
                new 
str[128];
                
mysql_format(SQLstr,128,"UPDATE `users` SET `FonduriEuro`='%d' WHERE `ID`='%d' LIMIT 1",PlayerData[playerid][FonduriEuro],PlayerData[playerid]);
                
mysql_tquery(SQLstr"""");
                new 
stringcumparare[128];
                
format(stringcumpararesizeof(stringcumparare), "ITEM-SHOP: %s si-a cumparat o casa noua din item-shop."PlayerData[playerid][Name]);
                
ABroadCast(RED,stringcumparare,1);
ShowPlayerDialog(playeridDIALOG_ITEMSHOPDIALOG_STYLE_MSGBOX,titles,strings,"Ok",""); 
Got this,the problem is,i think there are too many strings and the last one with the dialog doesnt show up,just the first ones,if i remove the ABroadcast,the last one shows up,how can i make so every string is shown?
Reply


Messages In This Thread
many strings - by PepsiCola23 - 22.11.2016, 22:14
Respuesta: many strings - by Swedky - 23.11.2016, 01:48
Re: many strings - by PepsiCola23 - 23.11.2016, 18:12
Re: many strings - by PepsiCola23 - 23.11.2016, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)