SA-MP compile help - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SA-MP compile help (
/showthread.php?tid=150572)
SA-MP compile help -
nathan21 - 26.05.2010
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;
}
Re: SA-MP compile help -
nathan21 - 26.05.2010
bump
Re: SA-MP compile help -
russo666 - 26.05.2010
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;
}
Re: SA-MP compile help -
nathan21 - 26.05.2010
thanks
Re: SA-MP compile help -
russo666 - 26.05.2010
Quote:
Originally Posted by nathan21
thanks 
|