"Tag Mismatch"
#1

Quote:

C:\Documents and Settings\Owner\Desktop\saserver\gamemodes\DDPDRIFT .pwn(826 : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\saserver\gamemodes\DDPDRIFT .pwn(8274) : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\saserver\gamemodes\DDPDRIFT .pwn(8280) : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\saserver\gamemodes\DDPDRIFT .pwn(8281) : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\saserver\gamemodes\DDPDRIFT .pwn(8283) : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\saserver\gamemodes\DDPDRIFT .pwn(8283) : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\saserver\gamemodes\DDPDRIFT .pwn(8285) : warning 213: tag mismatch
C:\Documents and Settings\Owner\Desktop\saserver\gamemodes\DDPDRIFT .pwn(8285) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


9 Warnings.

Код:
CMD:hit(playerid, params[])
{
        new amount;
        if(sscanf(params, "dd", ID, amount))
        {
                SendClientMessage(playerid, COLOR_ERROR, "USAGE: /hit [ID] [amount]");
        }
        else if(amount > 0)
        {
                if(IsPlayerConnected(ID))
                {
                        if(GetPlayerMoney(playerid) >= amount)
                        {
                                if(antispam[playerid] == 0)
                                {
                                        hit[ID] = amount;
                                        hiter[ID] = playerid;
                                        new string[64];
                                        format(string, sizeof(string), "You have placed a hit on %s (%i) for $%i", ReturnPlayerName(ID), ID, amount);
                                        SendClientMessage(playerid, COLOR_MSG, string);
                                        format(string, sizeof(string), "%s (%i) has placed a hit on %s (%i) for $%i", ReturnPlayerName(playerid), playerid, ReturnPlayerName(ID), ID, amount);
                                        SendClientMessageToAll(COLOR_MSG, string);
                                        antispam[playerid] = 1;
                                        SetTimerEx("antispamtimer", ANTISPAM_TIME*1000, false, "d", playerid);
                                }
                                else
                                {
                                        SendClientMessage(playerid, COLOR_ERROR, "Please wait before placing another hit!");
                                }
                        }
                        else
                        {
                                SendClientMessage(playerid, COLOR_ERROR, "You do not have enough money!");
                        }
                }
                else
                {
                        SendClientMessage(playerid, COLOR_ERROR, "That player is not connected!");
                }
        }
        else
        {
                SendClientMessage(playerid, COLOR_ERROR, "Minimum amount to hit a person with is $1!");
        }
        return 1;
}
Help would be appriciated!

line 8268 starts at "if(sscanf(params, "dd", ID, amount))"
Reply


Messages In This Thread
"Tag Mismatch" - by xXitsgodzillaXx - 03.04.2013, 01:15
Respuesta: "Tag Mismatch" - by MiGu3X - 03.04.2013, 01:27
Re: Respuesta: "Tag Mismatch" - by xXitsgodzillaXx - 03.04.2013, 01:30
Respuesta: "Tag Mismatch" - by MiGu3X - 03.04.2013, 01:36
Re: "Tag Mismatch" - by MP2 - 03.04.2013, 01:44
Re: "Tag Mismatch" - by xXitsgodzillaXx - 03.04.2013, 12:14
Respuesta: "Tag Mismatch" - by MiGu3X - 03.04.2013, 13:05

Forum Jump:


Users browsing this thread: 2 Guest(s)