RSSy MYGO.pl Opublikowano Marzec 14, 2022 o 14:29 RSSy Udostępnij Opublikowano Marzec 14, 2022 o 14:29 Hello, good afternoon. Could someone help me to edit this plugin? It does death effects when I kill with a headshot and I would like it to do it in all deaths !!!! PHP Code: #include <amxmodx> #include <fakemeta> #define PLUGIN "HeadShot Blast" #define VERSION "1.0" #define AUTHOR "Rowan" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) } public client_death( killer,victim, weapon, hitplace ) { if(victim == killer) { return PLUGIN_HANDLED; } if(!killer) { return PLUGIN_HANDLED } if( hitplace == HIT_HEAD ) { effect(victim) } return PLUGIN_CONTINUE } public effect(id) { static Float:origin[3] pev(id, pev_origin, origin) engfunc(EngFunc_MessageBegin, MSG_PVS, SVC_TEMPENTITY, origin, 0) write_byte(TE_IMPLOSION) // TE ID engfunc(EngFunc_WriteCoord, origin[0]) engfunc(EngFunc_WriteCoord, origin[1]) engfunc(EngFunc_WriteCoord, origin[2] + 20.0) write_byte(100) // Radius write_byte(100) // Count write_byte(6) // Duration message_end() } Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi