SA-MP Forums Archive
Help, houses/map icons/dddoor?!? - 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: Help, houses/map icons/dddoor?!? (/showthread.php?tid=381285)



Help, houses/map icons/dddoor?!? - Nathaniel69 - 29.09.2012

Well, every ddoor that i make or house/map icon during in game wil be there until i restart the samp-server.
then i log in ad they all reset?
Check this out...

It says failed to load it, does anyone know why?


Re: Help, houses/map icons/dddoor?!? - Face9000 - 29.09.2012

You need to post the saving houses line(s),you can't expect we understand your problem just with a screen of the samp-server executable and the phpMyAdmin gui.


Re: Help, houses/map icons/dddoor?!? - Nathaniel69 - 29.09.2012

will i find that in the pawno, or the notepad?


Re: Help, houses/map icons/dddoor?!? - Face9000 - 29.09.2012

Quote:
Originally Posted by Nathaniel69
Посмотреть сообщение
will i find that in the pawno, or the notepad?
If i need some food i open the fridge,not the bathroom.


Re: Help, houses/map icons/dddoor?!? - Nathaniel69 - 29.09.2012

ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Houses...", 1);
SaveHouses();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Dynamic Doors...", 1);
SaveDynamicDoors();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Map Icons...", 1);
they were some lines, it says it saves. but when i restart they are all gone


Re: Help, houses/map icons/dddoor?!? - Face9000 - 29.09.2012

Post the SaveHouses(); code.


Re: Help, houses/map icons/dddoor?!? - Nathaniel69 - 29.09.2012

when i find the SaveHouses(); code, this is with it..
CMDavechars(playerid, params[])
{
if (PlayerInfo[playerid][pAdmin] >= 4) {
SaveEventPoints();
SaveHouses();
SendClientMessageEx(playerid, COLOR_YELLOW, "All houses updated sucessfully.");
SaveAllAccountsUpdate();
//g_mysql_DumpAccounts();
SendClientMessageEx(playerid, COLOR_YELLOW, "All player accounts updated successfully.");
}
else {
SendClientMessageEx(playerid, COLOR_GREY, "You are not authorized to use that command.");
}
return 1;
}


and this

ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Houses...", 1);
SaveHouses();


Re: Help, houses/map icons/dddoor?!? - Face9000 - 29.09.2012

Open Pawno,press CTRL+F,in the search box type SaveHouses(); - Press "OK" and post here all the code releated.


Re: Help, houses/map icons/dddoor?!? - Nathaniel69 - 29.09.2012

this
SaveHouses();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Dynamic Doors...", 1);
SaveDynamicDoors();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Map Icons...", 1);
SaveDynamicMapIcons();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Gates...", 1);
SaveGates();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Event Points...", 1);
SaveEventPoints();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Paintball Arenas...", 1);
SavePaintballArenas();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Server Configuration", 1);
Misc_Save();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Office Elevator...", 1);
SaveElevatorStuff();
ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Faction Pay...", 1);
SaveThePay();

this

SaveHouses();
SendClientMessageEx(playerid, COLOR_YELLOW, "All houses updated sucessfully.");
SaveAllAccountsUpdate();
//g_mysql_DumpAccounts();
SendClientMessageEx(playerid, COLOR_YELLOW, "All player accounts updated successfully.");
}
else {
SendClientMessageEx(playerid, COLOR_GREY, "You are not authorized to use that command.");
}
return 1;

and there is no more text found