You say sorry about the caps, yet, u use caps.. couldn't you just don't use it. I don't like people yelling at me ¬.¬
And there are lots of code snippets around the webz about this matter... even here on mpgh. Tip: Look for it on the third page of the Private Servers section.. you'll find a thread about this, unless you're blind ofc. If you don't, the forum has a Search feature. You should use it once in a while.