[pawn]
- /* Plugin generated by AMXX-Studio */
- #include <amxmodx>
- #include <amxmisc>
- #define PLUGIN "New Plug-In"
- #define VERSION "1.0"
- #define AUTHOR "author"
- public plugin_init() {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- // Add your code here...
- }
+code=
- Код: Выделить всё
[pawn]<ol class="pawn" style="font-family:monospace;"><li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #CD853F;">/* Plugin generated by AMXX-Studio */</span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000FF;font-weight:bold;">#include</span> <span style="color: #00008A;font-weight:bold;"><</span>amxmodx<span style="color: #00008A;font-weight:bold;">></span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000FF;font-weight:bold;">#include</span> <span style="color: #00008A;font-weight:bold;"><</span>amxmisc<span style="color: #00008A;font-weight:bold;">></span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000FF;font-weight:bold;">#define</span> PLUGIN <span style="color: #8A8AFF;">"New Plug-In"</span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000FF;font-weight:bold;">#define</span> VERSION <span style="color: #8A8AFF;">"1.0"</span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0000FF;font-weight:bold;">#define</span> AUTHOR <span style="color: #8A8AFF;">"author"</span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #8A00FF;font-weight:normal">public</span> <span style="color: #008A00;font-weight:bold;">plugin_init</span><span style="color: #00008A;font-weight:bold;">(</span><span style="color: #00008A;font-weight:bold;">)</span> <span style="color: #00008A;font-weight:bold;">{</span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #0000FF;font-weight:normal;">register_plugin</span><span style="color: #00008A;font-weight:bold;">(</span>PLUGIN, VERSION, AUTHOR<span style="color: #00008A;font-weight:bold;">)</span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> <span style="color: #CD853F;">// Add your code here...</span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #00008A;font-weight:bold;">}</span></div></li>
<li style="margin-left:6px;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div></li></ol>[/pawn]