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(stringgesizeof(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(giveplayeridENameType_RPName_NoMask), GetPVarInt(giveplayerid,"PhoneNumber"), GetSexName(GetPVarInt(giveplayerid,"Sex")), getNumberString(GetPVarInt(giveplayerid,"Bank")), text1text2text3,
            
text4text5text6getNumberString(GetPVarInt(giveplayerid,"TimesArrested")), GetPlayerWantedLevel(giveplayerid));
            
ShowPlayerDialog(playeridEFactionsDialog_PlayerMDCDIALOG_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...