How o fix this error
#5

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(!strcmp(cmdtext, "/kill", true))
  {
  SetPlayerHealth(playerid, 0.0);
  SendClientMessage(playerid, 0xFF8282AA, "SERVER: You have killed yourself!");
  return true;  
  }
  return false;   
}
  if(!strcmp(cmdtext, "/help", true))
  {
  SendClientMessage(playerid, LightBlue, "Checking");
  }
  
	return 1;
}
the /kill command is working but /help is not
Reply


Messages In This Thread
How o fix this error - by Peter_Corneile - 17.08.2009, 21:47
Re: How o fix this error - by Mr_Finnigan - 17.08.2009, 21:54
Re: How o fix this error - by Peter_Corneile - 17.08.2009, 21:55
Re: How o fix this error - by Mr_Finnigan - 17.08.2009, 21:57
Re: How o fix this error - by Peter_Corneile - 17.08.2009, 22:00
Re: How o fix this error - by Mr_Finnigan - 17.08.2009, 22:08
Re: How o fix this error - by Peter_Corneile - 17.08.2009, 22:16
Re: How o fix this error - by ACERS - 17.08.2009, 22:29
Re: How o fix this error - by Badger(new) - 17.08.2009, 22:40
Re: How o fix this error - by Peter_Corneile - 17.08.2009, 22:55

Forum Jump:


Users browsing this thread: 1 Guest(s)