Help, houses/map icons/dddoor?!?
#1

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?
Reply
#2

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.
Reply
#3

will i find that in the pawno, or the notepad?
Reply
#4

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.
Reply
#5

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
Reply
#6

Post the SaveHouses(); code.
Reply
#7

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();
Reply
#8

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)