How to create a /help command?
#9

now its like this:

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/killme", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
return 1;
if(!strcmp(cmdtext,"/help",true))
{
SendClientMessage(playerid,0xFFFFFFAA,"Help command!");
return 1;
}
}
Reply


Messages In This Thread
How to create a /help command? - by Xtreme4ever - 10.07.2010, 14:16
Re: How to create a /help command? - by OverSwap - 10.07.2010, 14:20
Re: How to create a /help command? - by Xtreme4ever - 10.07.2010, 14:22
Re: How to create a /help command? - by OverSwap - 10.07.2010, 14:24
Re: How to create a /help command? - by Xtreme4ever - 10.07.2010, 14:26
Re: How to create a /help command? - by Xtreme4ever - 10.07.2010, 14:26
Re: How to create a /help command? - by OverSwap - 10.07.2010, 14:29
Re: How to create a /help command? - by Xtreme4ever - 10.07.2010, 14:29
Re: How to create a /help command? - by Xtreme4ever - 10.07.2010, 14:30
Re: How to create a /help command? - by OverSwap - 10.07.2010, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)