Jump to content
  • 0

NPC check if player is mute


lokat

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  05/31/12
  • Last Seen:  

Hi,

Currently, I'm trying to create a script where at some point, the NPC will mute the player for a given time. During on this mute status, the player will not be able to talk to npc. It's not like it will disable the talk to NPC, but it just like showing the different message for the muted player..

for example

if (player is muted) { mes "sorry, no talk" }

else { blablabla }

So, how to check if the player is on the effect of mute?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

if(getstatus(SC_NOCHAT)) { mes "sorry, no talk" }

else { blablabla }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  05/31/12
  • Last Seen:  

wow thanks..

I tried look at the wiki page but there's no info about getstatus..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   35
  • Joined:  12/13/11
  • Last Seen:  

the wiki is more for tutorials and more of in depth about things, before u start asking questions n stuff on the forums, check the script_commands and the wiki :), if u still cant find what ur looking for, thats when its the green light for a post in my opinion....sorry if this was wayy off topic XD

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...