PDA

View Full Version : Toy system not saving!


Josh_Main
07/06/2012, 11:59 AM
Toy system works fine, but when a player exits the game and re-joins, the toys do not save :( Please help me.

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;
}


#define TOYS 10131

mahdi499
07/06/2012, 12:08 PM
at OnPlayerDisconnect, Add that Toys Save

Josh_Main
07/06/2012, 12:15 PM
Thanks, But by adding what code?