5 Errors
#1

pawn Код:
C:\Users\123EatLag\Dropbox\SCRIPT\SGRP19.pwn(84131) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\123EatLag\Dropbox\SCRIPT\SGRP19.pwn(3848 -- 3849) : warning 213: tag mismatch
C:\Users\123EatLag\Dropbox\SCRIPT\SGRP19.pwn(13930 -- 13931) : warning 213: tag mismatch
C:\Users\123EatLag\Dropbox\SCRIPT\SGRP19.pwn(54996) : warning 217: loose indentation
C:\Users\123EatLag\Dropbox\SCRIPT\SGRP19.pwn(54997) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Warnings.
lines

84131
pawn Код:
Float:DistanceCameraTargetToLocation(Float:CamX, Float:CamY, Float:CamZ,  Float:ObjX, Float:ObjY, Float:ObjZ,  Float:FrX, Float:FrY, Float:FrZ)
3438
pawn Код:
FuelBar[playerid] = //CreateProgressBar(548.00, 26.00, 57.50, 3.20, 866792447, 100.0);
        textdrawscount++;
13930
pawn Код:
FuelBar[playerid] = //CreateProgressBar(548.00, 26.00, 57.50, 3.20, 866792447, 100.0);
                textdrawscount++;
54996
pawn Код:
CellTime[caller] = 0;
            Mobile[caller] = INVALID_PLAYER_ID;
        }
    CellTime[playerid] = 0;
        SendClientMessageEx(playerid,  COLOR_GRAD2, "   You hung up.");
        if(PlayerInfo[playerid][pMask] == 1) format(string, sizeof(string), "* Stranger puts away their cellphone.");
        else format(string, sizeof(string), "* %s puts away their cellphone.",GetPlayerNameEx(playerid));
        ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        Mobile[playerid] = INVALID_PLAYER_ID;
        CellTime[playerid] = 0;
        RingTone[playerid]
the ones this the fuel can i just completely remove them?
Reply
#2

1. You are using this function before it's defined and compiler doesn't know if it returns tagged type, or not, so it has to reparse (I guess)
2.CreateProgressBar returns Bar tag type variable, and you are incrementing integer (tagless) variable.
3. You should know what indentation means and how to fix it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)