View Single Post
  #22  
Old 08-23-2008, 05:24 PM
DrakilorP2P DrakilorP2P is offline
Registered User
DrakilorP2P's Avatar
Join Date: Apr 2006
Posts: 755
DrakilorP2P is just really niceDrakilorP2P is just really nice
Quote:
Originally Posted by Inverness View Post
Indeed, I think the reason you can still compare player.level to a string is because either Stefan is compensating some how or its comparing with the object's name when you have a string in some weird way that Stefan doesn't bother to document for us.
I think it's just "converting" to a string whenever appropriate, which isn't entirely uncommon for a programming language to do. This works for TServerNPC and TServerPlayer as well.
Reply With Quote