SA-MP Forums Archive
warning 225: unreachable code - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 225: unreachable code (/showthread.php?tid=647323)



warning 225: unreachable code - spyro9696 - 03.01.2018

PHP код:
public OnPlayerConnect(playerid)
{
    {
        return 
SetTimerEx("OnPlayerJoin"0001false"i"playerid);
    }
    
goton[playerid]=0;
     return 
1;

PHP код:
C:\Users\BIBIX\Desktop\cns.pwn(229) : warning 225unreachable code
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning

What is the problem?


Re: warning 225: unreachable code - rfr - 03.01.2018

PHP код:
public OnPlayerConnect(playerid


    
SetTimerEx("OnPlayerJoin"0001false"i"playerid); 
    
goton[playerid]=0
    return 
1




Re: warning 225: unreachable code - spyro9696 - 03.01.2018

Thanks