11.08.2020, 04:11
TIL that you can use %<int> to tabulate (/t). Currently seeing what else you can use it on. Seems it adds spaces per int (%06s will add 6, %12s will add 12 etc).
pawn Code:
if(strcmp(cmd, "/test", true) == 0) {
new string[24], someVar[6] = "SA:MP";
format(string, sizeof(string), "%06s %s", "", someVar);
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Tu Madre", string, ":)", ":(");
return 1;
}