AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Version (build) check (https://forums.alliedmods.net/showthread.php?t=98925)

AlexALX 07-30-2009 20:11

Version (build) check
 
Hello all, sorry for my english.

How check player build for cs 1.6 with amxx?

I need check player build or version.

Code (exaple, not valid):

Code:

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Check Client Version"
#define VERSION "1.0"
#define AUTHOR "AlexALX"

public plugin_init() {

    register_plugin(PLUGIN, VERSION, AUTHOR);

    register_clcmd("say /version", "cmdversion", -1, "");

}

public cmdversion(id) {

new version, build;
version = ... // how check?
build = ...

client_print( id, print_chat, "You version: %s", version);
client_print( id, print_chat, "You build: %s", build);

}


minimiller 07-30-2009 20:13

Re: Version (build) check
 
sorry guy
this isnt possible with amxx

AlexALX 07-30-2009 20:40

Re: Version (build) check
 
Quote:

Originally Posted by minimiller (Post 886046)
sorry guy
this isnt possible with amxx

and where possible?
in user console exists commands "version", how text with this command cute in amxx?

hleV 07-30-2009 21:02

Re: Version (build) check
 
AMXX_VERSION_STR

Exolent[jNr] 07-30-2009 22:45

Re: Version (build) check
 
Quote:

Originally Posted by hleV (Post 886075)
AMXX_VERSION_STR

He wants the client's version and build of the game, not the AMXX version.

hleV 07-31-2009 06:49

Re: Version (build) check
 
Then it's impossible IMO.

AlexALX 07-31-2009 07:29

Re: Version (build) check
 
Quote:

Originally Posted by hleV (Post 886441)
Then it's impossible IMO.

but user commands version exists, and command where it takes this info...

hleV 07-31-2009 08:10

Re: Version (build) check
 
The command is client side and is registered by the game, not AMXX.

AlexALX 07-31-2009 09:46

Re: Version (build) check
 
Quote:

Originally Posted by hleV (Post 886503)
The command is client side and is registered by the game, not AMXX.

but anticheats check user cvars... if this not possible in amxx, when where its possible realizate?

edward0810 07-31-2009 10:50

Re: Version (build) check
 
just use the "version" cmd on the client side, and show a message telling them to check the console!


All times are GMT -4. The time now is 18:21.

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