AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   video question (https://forums.alliedmods.net/showthread.php?t=172998)

Menethil 11-28-2011 15:49

video question
 
Is posible to detect Software/OpenGl mode of a player?
How to get it ?

Devil259 11-28-2011 18:48

Re: video question
 
Code:
#include <amxmodx> new const VERSION[] = "0.0.2" public plugin_init() {     register_plugin("No Software Mode", VERSION, "ConnorMcLeod") } public client_connect(id) {     query_client_cvar(id, "gl_clear", "Client_Cvar_Result") } public Client_Cvar_Result(id, const szCvar[], const szValue[]) {     if( szValue[0] == 'B' )     {         //software mode.     } }


All times are GMT -4. The time now is 08:25.

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