SA-MP compile help
#1

i get this one warning that i cant fix its

C:\Users\Nathanael\Desktop\SAMP\gamemodes\Mission. pwn(209) : warning 225: unreachable code

can anybody help me heres the lines of the script i get the error on

lines 201-221:

Код:
public OnPlayerConnect(playerid)

{
{
  SendClientMessage(playerid,0xFF2F00AA,"Mini Misson: Defend The Factory - By Nathanael Tavares ");
  return 1;
		}

{
	SetPlayerColor(playerid,COLOR_GREEN);
 }
if(playerid == 1)
 {
		SetPlayerColor(playerid,0xFF2F00AA);
	}
if(playerid == 3)
	{
		SetPlayerColor(playerid,0xFF8400AA);
	}
return 1;
}
Reply
#2

bump
Reply
#3

pawn Код:
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid,0xFF2F00AA,"Mini Misson: Defend The Factory - By Nathanael Tavares ");
    SetPlayerColor(playerid,COLOR_GREEN);
    if(playerid == 1)
    {
        SetPlayerColor(playerid,0xFF2F00AA);
    }
    if(playerid == 3)
    {
        SetPlayerColor(playerid,0xFF8400AA);
    }
    return 1;
}
Reply
#4

thanks
Reply
#5

Quote:
Originally Posted by nathan21
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)