#include #include public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_forward(FM_PlayerPreThink,"fw_playerprethink") } public fw_playerprethink(id) { if(!is_dino[id]) return FMRES_IGNORED if( pev(id,pev_button & IN_ATTACK) && !(pev(id,pev_oldbuttons) & IN_ATTACK) ) { make_fire(id) } return FMRES_IGNORED } public make_fire(id) { new Float:origin[3], Float:angles[3]; engfunc(EngFunc_GetBonePosition,id,11,origin,angles); // make it at "origin" }