24.09.2013, 16:35
warning 204: symbol is assigned a value that is never used: "string"
pawn Код:
CMD:drag(playerid, params[])
{
new string[128], giveplayerid;
if(IsACop(playerid) || (PlayerInfo[playerid][pFaction] == 5 && PlayerInfo[playerid][pDivision] == 5) || PlayerInfo[playerid][pFaction] == 5 && PlayerInfo[playerid][pDivision] == 2 || (PlayerInfo[playerid][pFaction] == 3 && PlayerInfo[playerid][pRank] >= 10))
if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drag [playerid/partofname]");
if(PlayerCuffed[giveplayerid] == 1) return SendClientMessage(playerid, COLOR_WHITE, "This player must first be cuffed");
if(Dragged[playerid] == 0 && Drag[playerid] == 0)
Dragged[playerid] = 1;
Drag[playerid] = 1;
return 1;
}