07.08.2013, 23:12
hey guys, i'm getting a weird problem with mysql, wich i never had before...
When loading a string, it loads cutted '-'
Owner in mysql is "Estado" not "Esta"...
the size of HouseOwner is right, so i can't see a problem anywhere...
When loading a string, it loads cutted '-'
pawn Код:
cache_get_field_content(0,"owner",HouseOwner[houseid],MySQL_Connected);
printf("House %d owner: %s",houseid,HouseOwner[houseid]);
// prints
//House 0 owner: Esta
pawn Код:
new HouseOwner[MAX_HOUSES][24];