SA-MP Forums Archive
Toy system not saving! - 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: Toy system not saving! (/showthread.php?tid=348970)



Toy system not saving! - Josh_Main - 07.06.2012

Toy system works fine, but when a player exits the game and re-joins, the toys do not save Please help me.

Код HTML:
CMD:toys(playerid, params[])
{
	ShowPlayerDialog( playerid, TOYS, DIALOG_STYLE_LIST, "Toy Menu", "Attach/Dettach a Toy\nEdit a Toy\nDelete a Toy","Select", "Cancel" );
	return 1;
}
Код HTML:
#define TOYS        	10131



Re: Toy system not saving! - mahdi499 - 07.06.2012

at OnPlayerDisconnect, Add that Toys Save


AW: Toy system not saving! - Josh_Main - 07.06.2012

Thanks, But by adding what code?