View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-12-2008 , 15:42   Re: Winter Environment
Reply With Quote #12

Adding on to what Alka stated, if used in an if() statement:
Code:
if( is_user_outside(client) ) {     // returned the distance to the distance from the player's origin to the sky     // if the player's origin can be traced to the sky without touching anything,     // then a distance will be returned instead of 0, which returns true     // therefore, this block of code would be for if player is not under anything } else {     // there is no distance returned because player is underneath something     // this is because while the origin was traced to the sky, it hit something     // which means player is under something     // therefore, this block of code would be for if player is underneath something }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline