Help With this command
#1

i got this code:

Код:
	{
	if (strcmp("/testmenu", cmdtext, true, 10) == 0)
	{
		ShowMenuForPlayer(TestMenu,playerid);
		TogglePlayerControllable(playerid,0);
		return 1;
	}
	return 0;
	}
It work 100%

but all my other command doesn't work!
and it give me a Warning on the line under the this command code
Reply
#2

you have return 0.. it shouldnt be there

Код:
if (strcmp("/testmenu", cmdtext, true, 10) == 0)
{
  ShowMenuForPlayer(TestMenu,playerid);
  TogglePlayerControllable(playerid,0);
  return 1;
}
Reply
#3

thank you! it work great now!
Reply
#4

Are you really blind or are you just trying to post count?

Quote:
Originally Posted by XCultz
MORE ENFO!!
Quote:
Originally Posted by Smiths
thank you! it work great now!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)