Dialog Strings come as *********
#1

Okay, guys, so I have a dialog and the strings come out as ******. Any suggestions?
Reply
#2

Nobody can really help without a code,would you care to post you code for me/others?
Reply
#3

It's a bit long....

so, I got a string, and this string saves into a players profile. Example:
format(string, sizeof(string), "Player Warrant: %s", PlayerInfo[playerid][pWarrantReason]);
ShowPlayerDialog(playerid, 1111111, DIALOG_STYLE_MSGBOX, string, "OKAY", "OKAY");

And it comes out as
Player Warrant: ****************
Reply
#4

Is player warrant a number?
Reply
#5

No. It's properly saved too.
Reply
#6

Ahk, i can't be much help then, all i can really say is make sure you have new string blah, and try changing the dialog id to a smaller number. Sorry i couldn't be much help.
Reply
#7

Did you just post 4 posts or so of "useless crap"?
Reply
#8

Wow, sorry for trying to help man..
Reply
#9

Show where you initialise/format the "PlayerInfo[playerid][pWarrantReason]" variable.
Reply
#10

format(var, 32, "Crime1=%s\n",PlayerInfo[playerid][pCrime1]);fwrite(hFile, var);
pCrime1[128],
Reply
#11

strmid(PlayerInfo[gid][pCrime1], inputtext, 0, strlen(inputtext), 255);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)