03.04.2013, 01:15
Quote:
|
C:\Documents and Settings\Owner\Desktop\saserver\gamemodes\DDPDRIFT .pwn(826 : warning 213: tag mismatchC:\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;
}

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


: warning 213: tag mismatch