17.06.2018, 17:42
@******, I'm certainly sure that the server loads up everything from the database in LOCAL SERVER (127.0.0.1) and also in the server host. The problem is that ONLY the "exterior X co-ordinate" (i.e. OutX) is being modified IN SERVER HOST, though the mysql log is retrieving it perfectly. I'm using sscanf there to split up the retrieved data into their respective variables which is also in the same order as that of housing table. Here's my enumeration:
I'm telling this again; the houses are loaded and I'm able to teleport to the proper X co-ordinate in my local server, but not in the host.
pawn Код:
enum HInfo
{
HouseID,
hOwned,
hPrice,
hOwner[24],
hLocked,
hWorld,
hStoredMoney,
hInteriorID,
Float:OutX,
Float:OutY,
Float:OutZ,
Float:IntX,
Float:IntY,
Float:IntZ
};
new HouseInfo[MAX_HOUSES][HInfo];