commands not working
#1

My commands in the server is'nt working i do them and it says SERVER:Unknown command
but it compiles fine with no errors,but only 4 warnings which dont mean anything
heres the code

Код:
public OnPlayerCommandText (playerid,cmdtext[])
{
  if strcmp(cmdtext,"/smbase",true, 0) *then
	{
	SetPlayerPos(playerid,-2157.7058,-197.5349,35.3203);
  SendClientMessage(playerid,TEXT_COLOR, "Welcome to the SM Base");
	return 1;
	}
  if strcmp(cmdtext,"/kill",true, 1) *then
	{
	SetPlayerHealth(playerid, 0);
  return 1;
	}
    return 0;

}
Reply


Messages In This Thread
commands not working - by GreenHammy - 29.12.2007, 14:13
Re: commands not working - by GreenHammy - 29.12.2007, 14:20
Re: commands not working - by GreenHammy - 29.12.2007, 14:25
Re: commands not working - by Sandra18[NL] - 29.12.2007, 14:46
Re: commands not working - by GreenHammy - 29.12.2007, 15:20
Re: commands not working - by eXchainZ-FoReVeR - 16.09.2009, 00:03

Forum Jump:


Users browsing this thread: 2 Guest(s)