19.04.2018, 16:35
Quote:
Код:
format(str, sizeof(str),"%s: %s (%d) - %s", GetAdminName(i), PlayerName(i), pInfo[i][Married], DUTY_STR); SendClientMessage(playerid, COLOR, str); |
@TOPIC
Only make a debug:
Test #1:
Код:
new marr[24]; cache_get_field_content(0, "Married", marr); format(str, sizeof(str),"%s: %s (%s) - %s", GetAdminName(playerid), PlayerName(playerid), marr, DUTY_STR); SendClientMessage(playerid, COLOR, str);
Код:
cache_get_field_content(0, "Married", pInfo[playerid][Married], connectionHandle /* change this */, 24); format(str, sizeof(str),"%s: %s (%s) - %s", GetAdminName(playerid), PlayerName(playerid), pInfo[playerid][Married], DUTY_STR); SendClientMessage(playerid, COLOR, str);