AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   turn plugin for only steam (https://forums.alliedmods.net/showthread.php?t=156316)

almoog5 05-04-2011 11:37

turn plugin for only steam
 
like exolent jumpstats
hot do i make my plugin for only steam server ? .,
ty for help

Hunter-Digital 05-04-2011 13:23

Re: turn plugin for only steam
 
You should've posted in that plugin's thread.

Also, all plugins here are made to support Steam so I don't really know what you want... but as I said, post in the plugin's thread.

drekes 05-04-2011 13:33

Re: turn plugin for only steam
 
I think he's asking how to make his plugins work only on steam servers.

Hunter-Digital 05-04-2011 13:41

Re: turn plugin for only steam
 
Well, you can detect dproto by checking for it's cvars, I think one it's "dp_version".
But for protocol 47 servers, I dunno.

drekes 05-04-2011 15:28

Re: turn plugin for only steam
 
Non-steam users would remove that check anyway

S34Qu4K3 05-04-2011 16:32

Re: turn plugin for only steam
 
Use the native query_client_cvar(), or the forward client_authorized. Only works in steam :)

Erox902 05-04-2011 16:59

Re: turn plugin for only steam
 
Quote:

Originally Posted by S34Qu4K3 (Post 1463303)
Use the native query_client_cvar(), or the forward client_authorized. Only works in steam :)

does client_authorized work if ur hosting a lan server?
since the steam id you have will be STEAM_ID_LAN

drekes 05-04-2011 18:15

Re: turn plugin for only steam
 
It works when i test stuff on my listenserver

fysiks 05-04-2011 18:51

Re: turn plugin for only steam
 
Quote:

Originally Posted by drekes (Post 1463202)
I think he's asking how to make his plugins work only on steam servers.

If that were true then his request is irrelevant since

Quote:

Originally Posted by drekes (Post 1463265)
Non-steam users would remove that check anyway

So, the way to make it work only on Steam servers is to only put it on Steam servers.

kNowo 05-04-2011 20:31

Re: turn plugin for only steam
 
Quote:

Originally Posted by almoog5 (Post 1463136)
in exolent jumpstats plugin,
how did he make it for steam only?
teach me. cuz i want to remove that part.,
ty for help

fixed


All times are GMT -4. The time now is 04:20.

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