Raised This Month: $12 Target: $400
 3% 

operating system of client


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ajr1234
Senior Member
Join Date: Mar 2011
Location: Chicago, IL, U.S.A.
Old 04-22-2012 , 23:54   operating system of client
Reply With Quote #1

Is it possible to determine the operating system of the client?
ajr1234 is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 04-23-2012 , 03:18   Re: operating system of client
Reply With Quote #2

No
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
ajr1234
Senior Member
Join Date: Mar 2011
Location: Chicago, IL, U.S.A.
Old 04-24-2012 , 08:50   Re: operating system of client
Reply With Quote #3

Alright, then is it possible to determine if a client has a certain VPK installed, and if not, kick them with a message?
ajr1234 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-24-2012 , 10:12   Re: operating system of client
Reply With Quote #4

Quote:
Originally Posted by ajr1234 View Post
Alright, then is it possible to determine if a client has a certain VPK installed, and if not, kick them with a message?
Yes, although I don't believe that the required function is exposed to sourcepawn.

Calling IVEngineServer::ForceExactFile with the path to the vpk, relative to the game dir, along with sv_consistency 1, will kick them if they don't have it or it doesn't match the version on the server.
psychonic is offline
ajr1234
Senior Member
Join Date: Mar 2011
Location: Chicago, IL, U.S.A.
Old 04-25-2012 , 11:11   Re: operating system of client
Reply With Quote #5

Excellent! Thank you very much.
ajr1234 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode