Raised This Month: $ Target: $400
 0% 

Determine a Client's OS


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 10-20-2019 , 08:01   Re: Determine a Client's OS
Reply With Quote #40

Updated the plugin:
  1. Added a global forward for plugins to use.
  2. Added plugin information.
  3. Updated the plugin to the latest syntax.

Code:
enum OperatingSystem {
	OS_Unknown = -1,
	OS_Windows = 0,
	OS_Linux = 1,
	OS_Mac = 2,
};

forward void OnParseOS(int client, OperatingSystem os);
Attached Files
File Type: sp Get Plugin or Get Source (detect_os.sp - 319 views - 3.3 KB)

Last edited by Drixevel; 10-20-2019 at 08:02.
Drixevel is offline
 



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 23:30.


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