Posts: 172
Threads: 33
Joined: Dec 2010
Reputation:
0
Okay, guys, so I have a dialog and the strings come out as ******. Any suggestions?
Posts: 752
Threads: 87
Joined: Jul 2010
Reputation:
0
Nobody can really help without a code,would you care to post you code for me/others?
Posts: 172
Threads: 33
Joined: Dec 2010
Reputation:
0
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: ****************
Posts: 752
Threads: 87
Joined: Jul 2010
Reputation:
0
Is player warrant a number?
Posts: 172
Threads: 33
Joined: Dec 2010
Reputation:
0
No. It's properly saved too.
Posts: 752
Threads: 87
Joined: Jul 2010
Reputation:
0
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.
Posts: 172
Threads: 33
Joined: Dec 2010
Reputation:
0
Did you just post 4 posts or so of "useless crap"?
Posts: 752
Threads: 87
Joined: Jul 2010
Reputation:
0
Wow, sorry for trying to help man..
Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
Show where you initialise/format the "PlayerInfo[playerid][pWarrantReason]" variable.
Posts: 172
Threads: 33
Joined: Dec 2010
Reputation:
0
format(var, 32, "Crime1=%s\n",PlayerInfo[playerid][pCrime1]);fwrite(hFile, var);
pCrime1[128],
Posts: 172
Threads: 33
Joined: Dec 2010
Reputation:
0
strmid(PlayerInfo[gid][pCrime1], inputtext, 0, strlen(inputtext), 255);