Jump to content
  • 0

emotion is not showing


rongmauhong

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   14
  • Joined:  11/17/17
  • Last Seen:  

-	script	DiceHack	-1,{
end;

OnInit:
	bindatcmd "dice",strnpcinfo(3)+"::OnAtcommand";
	end;
	
OnAtcommand:
	if (getgroupid() < 10) { end; }
	.@dice = atoi(.@atcmd_parameters$[0]);

	if (.@dice >=1 && .@dice <= 6) {
		.@dice += 57;
		// emotion ET_DICE6;
		// emotion ET_CONFUSE;
		emotion .@dice;
	}

	end;
}

Hi,

I tried to show the emotion but not showing in game. I tried to debug with emotion ET_DICE6 and emotion ET_CONFUSE but not luck. /dice still works.
I am using 2017-06-14bRagexeRE client. Please help me. Thanks.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

emotion .@dice, playerattached();

?

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   14
  • Joined:  11/17/17
  • Last Seen:  

6 minutes ago, Capuche said:

emotion .@dice, playerattached();

?

Yayyyy. It works like a charm :D.
Thanks.

Edited by rongmauhong
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...