SA-MP Forums Archive
Dialog Not showing fully - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dialog Not showing fully (/showthread.php?tid=565907)



Dialog Not showing fully - Alex_T - 02.03.2015

The code below is not showing all that is there. Anyone got any help please help me



PHP код:
            format(stringge, sizeof(stringge), "Name: %s\r\nPhoneNumber:(%d)\r\nSex: %s\r\nBank Account:$%s\r\nDrivers License: %s\r\nFlying License: %s\r\nFishing License: %s\r\nSailing License: %s\r\nWeapons License: %s\r\nVehicle Insurance: %s\
            \r\nTimes Arrested: %d\r\nWarrants:%d"
, GetPlayerNameEx(giveplayerid, ENameType_RPName_NoMask), GetPVarInt(giveplayerid,"PhoneNumber"), GetSexName(GetPVarInt(giveplayerid,"Sex")), getNumberString(GetPVarInt(giveplayerid,"Bank")), text1, text2, text3,
            
text4, text5, text6, getNumberString(GetPVarInt(giveplayerid,"TimesArrested")), GetPlayerWantedLevel(giveplayerid));
            
ShowPlayerDialog(playerid, EFactionsDialog_PlayerMDC, DIALOG_STYLE_MSGBOX,"Police MDC System",stringge,"Select","Exit"); 



Re: Dialog Not showing fully - De4dpOol - 02.03.2015

Try increasing the size of string stringge.


Re: Dialog Not showing fully - Kenway - 02.03.2015

Make your stringsingle to 248 bits or 512 if needed...