PAWN Plugin, free AWP and Armor giveaway to the top players of the Counter Strike round
About this content

To create a plugin that will give AWP and armor to the two best players of the previous round, you will need to use AMX Mod X and Counter-Strike 1.6. Here is the general process for creating such a plugin:
-
Create a new plugin file with the ".sma" extension (for example, "top_players.sma") and open it in a text editor.
-
Insert the following code at the beginning of the plugin file:
CODE AMXMODX
-
In this code, we define the function
plugin_init(), which registers the plugin and the eventRound_End, as well as the functionRoundEnd(), which will be executed at the end of the round. Inside the functionRoundEnd()we find the two best players from the previous round (the required number of players can be changed in the variableMAX_PLAYERS) and give them AWP and armor. -
Compile the plugin file using the AMX Mod X Compiler.
-
Place the compiled plugin file (with the ".amxx" extension) in the "addons/amxmodx/plugins" folder on your Counter-Strike 1.6 server.
-
Restart the Counter-Strike 1.6 server
Comments (0)