Jump to content

A copy of 'onClientRender' on the server side


Anderl

Recommended Posts

Hey,

Today I was just thinking about some little idea I had, but then I ran into a problem which I can't seem to be able to solve: I need something like the onClientRender on the server side but the only way I found for this was to trigger a client event, but then I would run into another problem because triggering a client event isn't instant, it has a little delay and even though it may be a very little milliseconds difference, it will make a huge change. I thought about getting the amount of time the system has been running for, then in the client event's function get it again and compare to find out the time passed and take it from the already counting time (it's timers-related, it will start counting the time as soon as the timer is created) but how's if the user specifies an interval smaller than the time passed? Also, triggering a client event to check time passed, but have everything else saved on the server side doesn't seem like a very good idea.

Thanks, and please people that have no idea what they're saying, simply don't answer.

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...