27.09.2009, 11:24
Код:
if(IsPlayerAdmin(playerid) == 1) || gteam[playerid]==Team_LSPD || gteam[playerid]==Team_DMV) {
Код:
warning 225: unreachable code
If I add one, Pawn Compiler crashes.
Код:
if(IsPlayerAdmin(playerid) == 1 || gteam[playerid]==Team_DMV || gteam[playerid]==Team_LSPD) {
What's the problem with this code? I mean, It works on other commands but not right here.
And the funny thing is that I didn't change it at all, I was doing other things under another Public function...
Note: I don't wanna post the code, because It's too unique.