Thread: Bug code
View Single Post
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 04-29-2012 , 05:19   Re: Bug code
Reply With Quote #2

wtf
Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <hamsandwich> #include <fakemeta> #define PLUGIN "Test" #define VERSION "0.1" #define AUTHOR "[LF] | Dr.Freeman" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_forward(FM_PlayerPostThink,"fw_PlayerPostThink",1) } public fw_PlayerPostThink(this){     if((pev(this,pev_button)&IN_RUN)){         /* code to do when player run */     } }
__________________
The functional way is the right way
GordonFreeman (RU) is offline