[Help]/Help CMD
#1

I made a /help cmd and heres the script:public OnPlayerCommandText(playerid, cmdtext[])
{

if (strcmp("/kill", cmdtext, true, 5) == 0)
{

if(!strcmp(cmdtext,"/help", true))
{
SendClientMessage(playerid, COLOR_SILVER, "[SERVER]:This Server is Currently Under Construction,Help Feauture Will Be Updates ASAP!");
return true;

}
SetPlayerHealth(playerid, 0.0);
SendClientMessage(playerid, COLOR_ORANGE," [!] You Killed Yourself [!]");
return 1;
}
return 0;
}

And it seems that this cmd is Unknown(Recieving the message:[SERVER]:Unknown Command....)Help Please?
Reply


Messages In This Thread
[Help]/Help CMD - by Danikov - 17.10.2009, 14:18
Re: [Help]/Help CMD - by Danikov - 17.10.2009, 14:19
Re: [Help]/Help CMD - by Correlli - 17.10.2009, 14:22
Re: [Help]/Help CMD - by Danikov - 17.10.2009, 14:23
Re: [Help]/Help CMD - by Danikov - 17.10.2009, 14:25
Re: [Help]/Help CMD - by Correlli - 17.10.2009, 14:30
Re: [Help]/Help CMD - by Danikov - 17.10.2009, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)