Raised This Month: $ Target: $400
 0% 

Version (build) check


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AlexALX
Senior Member
Join Date: Apr 2009
Old 07-30-2009 , 20:11   Version (build) check
Reply With Quote #1

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);

}
AlexALX is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 07-30-2009 , 20:13   Re: Version (build) check
Reply With Quote #2

sorry guy
this isnt possible with amxx
__________________
minimiller is offline
Send a message via MSN to minimiller
AlexALX
Senior Member
Join Date: Apr 2009
Old 07-30-2009 , 20:40   Re: Version (build) check
Reply With Quote #3

Quote:
Originally Posted by minimiller View Post
sorry guy
this isnt possible with amxx
and where possible?
in user console exists commands "version", how text with this command cute in amxx?
AlexALX is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 07-30-2009 , 21:02   Re: Version (build) check
Reply With Quote #4

AMXX_VERSION_STR
__________________
hleV is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-30-2009 , 22:45   Re: Version (build) check
Reply With Quote #5

Quote:
Originally Posted by hleV View Post
AMXX_VERSION_STR
He wants the client's version and build of the game, not the AMXX version.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 07-31-2009 , 06:49   Re: Version (build) check
Reply With Quote #6

Then it's impossible IMO.
__________________
hleV is offline
AlexALX
Senior Member
Join Date: Apr 2009
Old 07-31-2009 , 07:29   Re: Version (build) check
Reply With Quote #7

Quote:
Originally Posted by hleV View Post
Then it's impossible IMO.
but user commands version exists, and command where it takes this info...
AlexALX is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 07-31-2009 , 08:10   Re: Version (build) check
Reply With Quote #8

The command is client side and is registered by the game, not AMXX.
__________________
hleV is offline
AlexALX
Senior Member
Join Date: Apr 2009
Old 07-31-2009 , 09:46   Re: Version (build) check
Reply With Quote #9

Quote:
Originally Posted by hleV View Post
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?
AlexALX is offline
edward0810
Member
Join Date: Mar 2009
Location: H.K.
Old 07-31-2009 , 10:50   Re: Version (build) check
Reply With Quote #10

just use the "version" cmd on the client side, and show a message telling them to check the console!
__________________
I am a newbie. Don't blame for my stupid question
edward0810 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 18:21.


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