warning 202
#1

I tried to create a dialog in style "DIALOG_STYLE_TABLIST_HEADERS" caught strcat and receive error.
ERROR:
Код HTML:
warning 202: number of arguments does not match definition
LINE:
Код HTML:
strcat(pFaction, "Los Santos Police Department\tSFF\t%s\n", sizeof(pFaction), GetFactionLeader(1));
Reply
#2

format, first.
Reply
#3

Thank you. +REP
Reply
#4

Код:
new str[128];
format(str,128, "Los Santos Police Department\tSFF\t%s\n", sizeof(pFaction), GetFactionLeader(1));
strcat(pFaction,str);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)