How do i add this?
#4

Quote:
Originally Posted by killdahobo99
This is what i have


Код:
 if (strcmp(cmdtext, "/ahelp", true) == 0) // ----------GUNZ COMMAND JUST FOR ADMIN
	{
	if (gTeam[playerid] == TEAM_GROVE)
	{
	SendClientMessage(playerid, 0xFF0000AA, "Only GROVE are authorized to use this command!");
	return 1;
	}
	else
	SendClientMessage(playerid,COLOR_LIGHTBLUE, "A FEW ADMIN COMMANDS");
	return 1;
  }
and heres the error i get

Код:
147) : warning 209: function "OnPlayerCommandText" should return a value
Add one more } at the end
Reply


Messages In This Thread
How do i add this? - by killdahobo99 - 27.07.2009, 17:46
Re: How do i add this? - by Criss_Angel - 27.07.2009, 18:20
Re: How do i add this? - by killdahobo99 - 27.07.2009, 18:51
Re: How do i add this? - by Criss_Angel - 27.07.2009, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)