What wrong with this [++rep]
#1

Код:
	if ( strcmp( cmd, "/dfaction", true )== 0)//testdealers
    {
		new mmm;
		new tmp[256];
		tmp = strtok(cmdtext, idx);
		mmm = strval(tmp);
		if(!strlen(tmp)) return SendClientMessage(playerid, DENN, "[SERVER] Usage: /dfaction [Money]");
		if(mmm <= 0) return SendClientMessage(playerid, DENN, "[SERVER] Usage: /dfaction [Money]");
        if(team[playerid] == 3)//dealers
        {
        	format(file, sizeof(file), Faction\\DEALERS.ini);
        	dini_IntSet(file, "BANK", dini_Int(file, "BANK")+mmm);
		    new string[80];
		    format(string, sizeof(string), "[SERVER] You have Deposit %d in your FACTION ACCOUNT.", mmm );
		    return SendClientMessage(playerid, ACC, string);
		}
compilation errors



Код:
C:\Users\adil\Desktop\0.3e\gamemodes\newgame.pwn(1465) : error 017: undefined symbol "Faction"
C:\Users\adil\Desktop\0.3e\gamemodes\newgame.pwn(1465) : error 029: invalid expression, assumed zero
C:\Users\adil\Desktop\0.3e\gamemodes\newgame.pwn(1465) : error 029: invalid expression, assumed zero
C:\Users\adil\Desktop\0.3e\gamemodes\newgame.pwn(1465) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
What wrong with this [++rep] - by Amine_Mejrhirrou - 05.11.2012, 13:09
Re: What wrong with this [++rep] - by Laure - 05.11.2012, 13:14
Re : What wrong with this [++rep] - by Amine_Mejrhirrou - 05.11.2012, 13:21
Re: What wrong with this [++rep] - by Laure - 05.11.2012, 13:27
Re : What wrong with this [++rep] - by Amine_Mejrhirrou - 05.11.2012, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)