Why is this not loading MySQL data into the variables properly?
#4

Adress is string so don't use strval for it:
pawn Код:
cache_get_row(0, 1, HouseInfo[id][hAddress], g_Handle, /* SIZE OF hAdress HERE */);
Also a suggestion: it would be better if you used a while loop so you can check if the rows are not more than the size of HouseInfo. Just to prevent a run time error 4 in case that was about to happen.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)