Quote:
Originally Posted by rangerxxll
I get
pawn Код:
warning 225: unreachable code
When I do
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { return SendClientMessage(playerid, 1, "[ERROR] Unknown command, use /help for a list of available commands"); return 1; }
Am I putting it in the wrong position?
|
Код:
OnPlayerCommandText(playerid, cmdtext[])
{//remove this
return SendClientMessage(playerid, 1, "[ERROR] Unknown command, use /help for a list of available commands");
return 1;//remove this
}
//here put your first cmd
if it still will not compile post OnplayerCommandText from the top to the last of the first cmd