Is player in menu/win?
#1

is there any function that can return if player is in menu (ESC) or in win (alt+tab)?
Reply
#2

you can check in onplayerupdate if player is updating or not .. with GetTickCount();
Reply
#3

GetTickCount() returns how long is server running or do I understand it wrong ? O_o
Reply
#4

Yea but you can use it for check the difference from 2 times..

like

you get the start value GetTickCount...


then you finish the function and get it again .. the frist - the second you get the time
Reply
#5

yes but it will work both times since player is on server, so basically he is updating chat etc, well, I'l ltry this later
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)