19.04.2018, 14:56
Quote:
pInfo[playerid][Married] = strval(tmp)
strval function convert STRING to INTEGER. See more: Strval. If Married constant is string use this: cache_get_field_content(0, "Married", pInfo[playerid][Married]) |
On MYSQL is saved, but In game it wont show. it shows blank
PHP код:
format(str, sizeof(str),"%s: %s (%s) - %s", GetAdminName(i), PlayerName(i), pInfo[i][Married], DUTY_STR);
SendClientMessage(playerid, COLOR, str);