/stats error
#1

This error:
Код HTML:
C:\Users\Zachary.Zach-HP.000\Desktop\Folders\SA-MP\Los Santos Realism\gamemodes\LS-R.pwn(113) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
These codes:
Код 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.
Reply


Messages In This Thread
/stats error - by boy - 11.10.2014, 00:34
Re: /stats error - by SickAttack - 11.10.2014, 00:42
Re: /stats error - by boy - 11.10.2014, 00:53
Re: /stats error - by The__ - 11.10.2014, 01:11
Re: /stats error - by austin070 - 11.10.2014, 01:11
Re: /stats error - by boy - 11.10.2014, 01:37
Re: /stats error - by Threshold - 11.10.2014, 02:13

Forum Jump:


Users browsing this thread: 3 Guest(s)