Why does my server.exe keep crashing?
#4

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
Reply


Messages In This Thread
Why does my server.exe keep crashing? - by rangerxxll - 23.10.2011, 10:04
Re: Why does my server.exe keep crashing? - by manchestera - 23.10.2011, 10:30
Re: Why does my server.exe keep crashing? - by rangerxxll - 23.10.2011, 10:37
Re: Why does my server.exe keep crashing? - by manchestera - 23.10.2011, 10:45
Re: Why does my server.exe keep crashing? - by Kostas' - 23.10.2011, 10:48
Re: Why does my server.exe keep crashing? - by rangerxxll - 23.10.2011, 10:51

Forum Jump:


Users browsing this thread: 1 Guest(s)