Jump to content
  • 0

How to work with canuseitem_tick and gettick();


JayPee

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

What is the use of gettick(); and canusuitem_tick and when to use also. Thanks

Another Question is How to know if a player is being attacked by another player?

Edited by JayPeeMateo
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   101
  • Joined:  11/13/11
  • Last Seen:  

gettick = get the current tick count of the server, used by timers.

canuseitem_tick = when > 0, you can only use an item if gettick() > canuseitem_tick

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...