Seems my post has been trashed
Code:
//Movement Effect V.1.1
//Special thanks Fe Ar for bind command
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Movement Effect"
#define VERSION "1.0"
#define AUTHOR "David Vincent B."
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("run", "test")
}
stock set_weapon_anim(id, anim)
{
set_pev(id, pev_weaponanim, anim)
message_begin(MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, _, id)
write_byte(anim)
write_byte(pev(id,pev_body))
message_end()
}
public test(id){
set_weapon_anim(id,1)
console_cmd(id, "bind W run")
}
what's wrong with this? error when compiled