How to create a /help command?
#6

its like this:

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/killme", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
return 1;
}
return 0;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
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: 3 Guest(s)