Код HTML:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/buycar", cmdtext, true, 10) == 0)
ShowPlayerDialog(playerid, 13, DIALOG_STYLE_LIST, "Car Dealership", "Huntley\nAdmiral\nBurrito\nStratum\nSadler\nUranus", "Buy", "Close");
return 1;
}
if (strcmp(cmd, "/stats", true) == 0) // THIS IS LINE 113
format(string, sizeof(string), "Money: [$%d]", PlayerInfo[playerid][pMoney])
SendClientMessage(playerid, COLOR_GREEN, string);
}
Anyone know what the problem is? Sorry if the codes aren't neatly written. I've been changing them up to see if I could fix it but nothing has fixed it yet. I will give rep to whoever successfully helps me.