varchar command
#7

Quote:
Originally Posted by UFF
Посмотреть сообщение
Код:
                format(str, sizeof(str),"%s: %s (%d) - %s",  GetAdminName(i), PlayerName(i), pInfo[i][Married], DUTY_STR); 
                SendClientMessage(playerid, COLOR, str);
pInfo[i][Married] is string!

@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);
Test #2:
Код:
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);
Reply


Messages In This Thread
varchar command - by Zeus666 - 19.04.2018, 14:05
Re: varchar command - by F1N4L - 19.04.2018, 14:37
Re: varchar command - by Zeus666 - 19.04.2018, 14:38
Re: varchar command - by F1N4L - 19.04.2018, 14:42
Re: varchar command - by Zeus666 - 19.04.2018, 14:56
Re: varchar command - by UFF - 19.04.2018, 15:56
Re: varchar command - by F1N4L - 19.04.2018, 16:35
Re: varchar command - by Zeus666 - 19.04.2018, 18:01
Re: varchar command - by UFF - 20.04.2018, 03:21
Re: varchar command - by Zeus666 - 20.04.2018, 08:29

Forum Jump:


Users browsing this thread: 1 Guest(s)