Danil22
Умник
Помогите пожалуйста)
К 8692.
15741
18133
24212
Буду очень благодарен
Код:
C:\Users\12\Desktop\Íîâàÿ ïàïêà\gamemodes\viceland.pwn(8692) : warning 204: symbol is assigned a value that is never used: "hunger"
C:\Users\12\Desktop\Íîâàÿ ïàïêà\gamemodes\viceland.pwn(15741) : warning 204: symbol is assigned a value that is never used: "armyid"
C:\Users\12\Desktop\Íîâàÿ ïàïêà\gamemodes\viceland.pwn(16365) : warning 204: symbol is assigned a value that is never used: "markid"
C:\Users\12\Desktop\Íîâàÿ ïàïêà\gamemodes\viceland.pwn(18133) : warning 204: symbol is assigned a value that is never used: "fname"
C:\Users\12\Desktop\Íîâàÿ ïàïêà\gamemodes\viceland.pwn(24212) : warning 203: symbol is never used: "playerid"
C:\Users\12\Desktop\Íîâàÿ ïàïêà\gamemodes\viceland.pwn(29157) : warning 203: symbol is never used: "gJobNames"
C:\Users\12\Desktop\Íîâàÿ ïàïêà\gamemodes\viceland.pwn(29157) : warning 203: symbol is never used: "objstart"
Pawn compiler 3.2.3664.samp Copyright (c) 1997-2006, ITB CompuPhase
7 Warnings.
Код:
if(IsAMafia(playerid) && IsPlayerInDynamicArea(playerid,gAreas[arMafiaGetGun]))
{
if(GetPVarInt(playerid,"carrygun")) return SendClientMessage(playerid,CGRAY,"Ó âàñ óæå åñòü ÿùèê ñ îðóæèåì");
new armyid = GetPlayerVirtualWorld(playerid);
if(mafiaship < 1) return SendClientMessage(playerid,CGRAY,"Íåäîñòàòî÷íî ÿùèêîâ íà êîðàáëå.");
mafiaship--;
UpdateMafiaShipText();
SetPVarInt(playerid,"carrygun",200);
SetPVarInt(playerid,"carryammo",200);
SetPlayerFacingAngle(playerid,270.0);
ClearAnimations(playerid);
ApplyAnimation(playerid,"CARRY","liftup",1.0,0,1,1,0,0,1);
SetPlayerTimerEx(playerid, "CarryDelay",1000,false,"i",playerid);
SetPlayerAttachedObject(playerid,0,2358,6,0.0,0.10,-0.2, -110.0,0.0,78.0);
}
Код:
if(pTemp[playerid][pFilling])
{
pTemp[playerid][pOff]++;
new fillingid = pTemp[playerid][pFillingID]-1;
new markid = pTemp[playerid][pFillingMark]-1;
new vehicleid = GetPlayerVehicleID(playerid);
if(gFillings[fillingid][fillFuel][0] < strval(inputtext))return SendClientMessage(playerid,CGRAY,"Íà çàïðàâêå íåò òàêîãî êîë-âà áåíçèíà.");
pTemp[playerid][pFillingAmount] = strval(inputtext);
new Float:getfuel;
getfuel = pTemp[playerid][pFillingAmount] - gVehicles[vehicleid-1][vFuel];
if(strval(inputtext) < 1 || strval(inputtext) > floatround(GetPVarFloat(playerid,"canFill")))
Код:
case dFillingOrderAmount:
{
if(!response) return OnPlayerCommandText(playerid,"/filling");
new fillingid = GetPVarInt(playerid,"fillingid");
new amount = strval(inputtext);
if(amount < 1 || amount > 20000) return SendClientMessage(playerid,CGRAY,"Íåâåðíîå êîëè÷åñòâî òîïëèâà");
if(gFillings[fillingid][fillFuel][0] + amount > gFillings[fillingid][fillTanks][0]) return SendClientMessage(playerid,CGRAY,"Íåäîñòàòî÷íî ìåñòà â öèñòåðíå");
SetPVarInt(playerid,"fillingorderamount",amount);
new fname[16],cprice,price;
cprice = gFuelPrice[0][0] * amount;
price = cprice + 3000;
SetPVarInt(playerid,"fillingorderprice",price);
new mes[256];
format(mes,sizeof(mes),"{"#cWHITE"}\t\t×ÅÊ\n\nÒîïëèâî:\t{"#cGREEN"}Diesel [$%d çà ëèòð]\n{"#cWHITE"}Êîë-âî:\t{"#cGREEN"}%dë\n{"#cWHITE"}Öåíà:\t\t{"#cRED"}$%d\n{"#cWHITE"}Äîñòàâêà:\t{"#cRED"}$3000\n{"#cWHITE"}ÈÒÎÃÎ:\t\t{"#cYELLOW"}$%d",
gFuelPrice[0][0],amount,cprice,price);
ShowPlayerDialog(playerid,dFillingOrder,0,"Çàêàç òîïëèâà",mes,"Îïëàòà","Îòìåíà");
}
Код:
stock HideCarInfo(playerid)
{
//printf("âûçûâëñÿ");
return 1;
}
