Thread: Player Paused
View Single Post
  #8  
Old 10-12-2007, 10:01 PM
BonzaiXxXSRStudios BonzaiXxXSRStudios is offline
Since 2001
BonzaiXxXSRStudios's Avatar
Join Date: Jul 2007
Location: Atlanta, Georgia USA
Posts: 108
BonzaiXxXSRStudios is on a distinguished road
Send a message via MSN to BonzaiXxXSRStudios
Quote:
Originally Posted by xXziroXx View Post
True.

Meaning, you could do something like:

PHP Code:
//#CLIENTSIDE
function onCreated() setTimer(.05);

function 
onTimeOut()
{
  if (
player.ispaued) {
    
// What would happen if the player paused? Hmmm...
  
}
  
setTimer(.05);


At the end of your script...why set the timer again? thats in fact if you did set the timer again.
__________________


Nutos (Jasler) and Yoke (lDarkDragonl) at Bonzai and Storm Reach Studios
Reply With Quote