new watsnew[ 900 ]; \n{1cd8ea}==============================================================\n"); format(watsnew,sizeof(watsnew), " \n {3696EB}Members online:{FFFFFF}%d \n",c); format(watsnew,sizeof(watsnew), " \n {3696EB}Members:{FFFFFF}%d \n",dini_Int(tmpf, "factionmembers")); format(watsnew,sizeof(watsnew), "\n{3696EB}Gun Stock:{FFFFFF}%d \n",dini_Int(tmpf, "factionguns")); format(watsnew,sizeof(watsnew), "\nStock Status:{FFFFFF}%s\n",wat); format(watsnew,sizeof(watsnew), "\n{1cd8ea}==============================================================\n"); format(info2,sizeof(info2),"%s Faction Informations",PlayerInfo[playerid][PTeamName]); ShowPlayerDialog(playerid,3000,DIALOG_STYLE_MSGBOX,info2,watsnew,"Close","");
new watsnew[ 900 ];
strcat(watsnew, "{1cd8ea}==============================================================\n");
strcat(watsnew, " \n {3696EB}Members online:{FFFFFF}%d \n",c);
strcat(watsnew, " \n {3696EB}Members:{FFFFFF}%d \n",dini_Int(tmpf, "factionmembers"));
strcat(watsnew, "\n{3696EB}Gun Stock:{FFFFFF}%d \n",dini_Int(tmpf, "factionguns"));
strcat(watsnew, "\nStock Status:{FFFFFF}%s\n",wat);
strcat(watsnew, strcat(watsnew, "\n{1cd8ea}==============================================================\n");
format(info2,sizeof(info2),"%s Faction Informations",PlayerInfo[playerid][PTeamName]);
ShowPlayerDialog(playerid,3000,DIALOG_STYLE_MSGBOX,info2,watsnew,"Close","");
I've already tried that but it gives me some errors.
I checked some other posts that had same problem and they solved it by using format but at me aint working |
format(string, sizeof(string), "Hello\n");
format(string, sizeof(string), "Its me K0P");
new watsnew[320] = "\n{1cd8ea}==============================================================\n" \
"\n {3696EB}Members online:{FFFFFF}%d\n\n {3696EB}Members:{FFFFFF}%d\n" \
"\n{3696EB}Gun Stock:{FFFFFF}%d\n\nStock Status:{FFFFFF}%s\n" \
"\n{1cd8ea}==============================================================\n";
format(watsnew, sizeof watsnew, watsnew, c, dini_Int(tmpf, "factionmembers"), dini_Int(tmpf, "factionguns"), wat);