[Include] Packed-safe format!
#11

I fixed it the same way and as I said, there are some issues with it. For example, I have this code:

Code:
new user[24], string[256];
for (new i; i < rows; i++)
{
	cache_get_field_content(i, "user", user);
	for (new j, g = sizeof(user); j < g; j++) if (user[j] == '_') user[j] = ' ';
	format(string, sizeof(string), "%s%s\n", string, user);
}
cache_delete®;
ShowPlayerDialog(playerid, DIALOG_CHOOSECHARACTER, DIALOG_STYLE_LIST, "Select your character!", string, "Choose", "Quit");
When I have three characters, I normally get this dialog (That's in estonian, sorry):



But with this include I get only the last one:




Edit: This include also messes up other formats:



Kiirus (Speed) is always 75.
Kьtus (Fuel) changes according to speed and is a random character.
Odomeeter (Odometer) also doesn't change.
Same with Aku (Battery).

(Sorry for ruining your day)
Reply


Messages In This Thread
Packed-safe format! - by Emmet_ - 14.12.2013, 20:26
Re: Packed-safe format! - by Wizzy951 - 14.12.2013, 20:30
Re: Packed-safe format! - by DavidLuango - 14.12.2013, 20:43
Re: Packed-safe format! - by Emmet_ - 14.12.2013, 21:10
Re: Packed-safe format! - by Jimmy0wns - 14.12.2013, 21:14
Re: Packed-safe format! - by Zamora - 14.12.2013, 21:31
Re: Packed-safe format! - by Emmet_ - 14.12.2013, 23:06
Re: Packed-safe format! - by iJumbo - 14.12.2013, 23:12
Re: Packed-safe format! - by BizzyD - 14.12.2013, 23:44
Re: Packed-safe format! - by Emmet_ - 15.12.2013, 01:36
Re: Packed-safe format! - by kvann - 11.04.2014, 15:15
Re: Packed-safe format! - by Emmet_ - 11.04.2014, 19:13
Re: Packed-safe format! - by kvann - 11.04.2014, 19:40
Re: Packed-safe format! - by Emmet_ - 11.04.2014, 19:53
Re: Packed-safe format! - by kvann - 11.04.2014, 20:17
Re: Packed-safe format! - by Emmet_ - 11.04.2014, 20:34
Re: Packed-safe format! - by kvann - 11.04.2014, 20:50
Re: Packed-safe format! - by Emmet_ - 11.04.2014, 21:20
Re: Packed-safe format! - by Baltazar - 12.04.2014, 00:31
Re: Packed-safe format! - by Baltazar - 12.04.2014, 22:22

Forum Jump:


Users browsing this thread: 2 Guest(s)