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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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