commands works but also returns "unknown command"
#1

I started coding for samp yesterday, and i can't seem to get my commands working completely, they all return "unknown command", but they still works as suspected.

(I have searched)

commands code:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/makemehappy", cmdtext, true, 10) == 0)
	{
	  SetPlayerHealth(playerid, 100);
	  GivePlayerMoney(playerid,1000000);
		return 1;
	}
	return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)