GetPlayerFPS + another question
#10

Now I get this strange warning:

Код:
D:\Program Files\GTA San Andreas\SAMP_Server\gamemodes\deathmatch.pwn(1342) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
This wasn't before under OnGameModeInit:

pawn Код:
public OnGameModeInit() {
   
    //other stuff
        for(new i=0; i < sizeof(ZoneInfo); i++)
        {
            ZoneID[i] = GangZoneCreate(ZoneInfo[i][zMinX], ZoneInfo[i][zMinY], ZoneInfo[i][zMaxX], ZoneInfo[i][zMaxY]);
        }
       
//from here, yours begins
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            FPS[i] = TextDrawCreate(8.000000, 428.000000, "FPS: 30");
            TextDrawBackgroundColor(FPS[i], 255);
            TextDrawFont(FPS[i], 3);
            TextDrawLetterSize(FPS[i], 0.480000, 2.000000);
            TextDrawColor(FPS[i], -65281);
            TextDrawSetOutline(FPS[i], 1);
            TextDrawSetProportional(FPS[i], 1);
        }
        SetTimer("FPSUP",1203,true);
        return 1;
       
        DisableInteriorEnterExits(); //here is the warning, never happened before
Reply


Messages In This Thread
GetPlayerFPS + another question - by Twisted_Insane - 10.03.2012, 08:27
Re: GetPlayerFPS + another question - by Twisted_Insane - 10.03.2012, 10:44
Re: GetPlayerFPS + another question - by [XST]O_x - 10.03.2012, 10:45
Re: GetPlayerFPS + another question - by Twisted_Insane - 10.03.2012, 10:50
Re: GetPlayerFPS + another question - by [XST]O_x - 10.03.2012, 10:53
Re: GetPlayerFPS + another question - by Twisted_Insane - 10.03.2012, 10:56
Re: GetPlayerFPS + another question - by [XST]O_x - 10.03.2012, 10:57
Re: GetPlayerFPS + another question - by Twisted_Insane - 10.03.2012, 11:04
Re: GetPlayerFPS + another question - by [XST]O_x - 10.03.2012, 11:49
Re: GetPlayerFPS + another question - by Twisted_Insane - 10.03.2012, 11:59

Forum Jump:


Users browsing this thread: 3 Guest(s)