Jump to content
  • 0

Check function


Zoom

Question

Hello.

 

Is there a function that checks if a player is using emotions?

 

For example: when player using emotion "dance" he can't use item.

 

I looking for a function in src game.

 

Best regards.

Link to post

2 answers to this question

Recommended Posts

  • 0
  • VIP

Everytime you click on an emotion set a variable to have time + duration of the emotion let's say 7 seconds, so this way you will be able to make what you want. As i know emotions are client + server so you can set the variable in both client and server for good security.

Edited by Speachless (see edit history)
  • Love 1
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

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

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.