View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-11-2021 , 12:31   Re: I wanna some plugin for my knife server
Reply With Quote #14

Quote:
Originally Posted by husam124 View Post
ty man it works.
but can you edit it so if the player died to stop the freeze function because his model is freezed after he died.
Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <hamsandwich> #include <fakemeta> #define PLUGIN "FL_FROZEN Reset on Murder" #define VERSION "1.0" #define AUTHOR "Natsheh" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)             // if you're asking why i hooked pre and not post, because i don't want to block the death animation.     RegisterHam(Ham_Killed, "player", "fw_player_killed_pre"); } public fw_player_killed_pre(victim, killer) {     set_pev(victim, pev_flags, pev(victim, pev_flags) & ~FL_FROZEN ); }
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-11-2021 at 12:58.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh