SA-MP Forums Archive
warning 225 - 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 (/showthread.php?tid=514076)



warning 225 - Bubulis - 19.05.2014

Can someone please help me with this?

(185) : warning 225: unreachable code


Quote:

// Display a message if the player hasn't accepted the rules yet
if (APlayerData[playerid][RulesRead] == false)
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}You haven't accepted the {FFFF00}/rules{FF0000} yet");
return 1;
}




Re: warning 225 - ReApZ - 19.05.2014

warnings are nothing to be afraid of you will still get the .amx files


Re: warning 225 - Bubulis - 19.05.2014

Quote:
Originally Posted by ReApZ
Посмотреть сообщение
warnings are nothing to be afraid of you will still get the .amx files
I know, but i need to get off this warning.


Re: warning 225 - JFF - 19.05.2014

pawn Код:
// Display a message if the player hasn't accepted the rules yet
if (APlayerData[playerid][RulesRead] == false)
{
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}You haven't accepted the {FFFF00}/rules{FF0000} yet");
return 1;
}