Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
I'd guess you have a return 1/0 right before that line, maybe you forgot to close the bracket of the last cmd.
unreachable code means, that you got code after e.g. a return, so this wont be called, because the return ends the function before.
Posts: 2,220
Threads: 154
Joined: Jul 2009
Reputation:
0
Show us whole your OnPlayerCommandText (pastebin).
Posts: 1,741
Threads: 44
Joined: Apr 2010
Reputation:
0
Unreachable code:
1.
return 1;
SendClientMessage;
2.
return 1;
}
return 1;
}
return 1;