Current location - Quotes Website - Signature design - Does anyone know how to use the Chinese ID plug-in of CS Friends?
Does anyone know how to use the Chinese ID plug-in of CS Friends?
Realize the Chinese ID function of CS

Simple sample plug-in, reading Chinese ID settings from a text file.

If the amount of data is large, it is recommended to use a database, which is ideal and convenient to manage.

Plug-in installation instructions:

1, fakemeta_amxx.dll module that needs to be modified by ig.

Just replace your original fakemeta_amxx.dll without affecting any functions in fakemeta.

2.Chinese _ id.ini is a Chinese id setting file, which is placed in the \amxmodx\configs\ directory.

Add information according to the instructions inside, and remember to save it in UTF8 unsigned format.

3. Put this plug-in configuration at the top of the plugin.ini file.

User description of plug-in development:

1, mainly using ig_setname () function to realize the renaming of Chinese ID.

Other better ways? Waiting for you to find out. . .

2. Add the following function definition at the bottom of fakemeta.ini, otherwise it will not compile.

//Set the player name

// name = the new name of the player (more than 3 1 byte is invalid)

native ig_setname(id,const newname[])

Known problems in the use of Chinese ID:

1, when talking through the microphone, the player name of Chinese ID is garbled and cannot be displayed correctly.

2. The renaming function of the player in the game is disabled. If you want to change your name, you need to change it offline before entering.