Raised This Month: $165 Target: $400
 41% 

I wanna some plugin for my knife server


Post New Thread Reply   
 
Thread Tools Display Modes
thEsp
Veteran Member
Join Date: Aug 2017
Location: Land of Eagles
Old 01-11-2021 , 09:40   Re: I wanna some plugin for my knife server
Reply With Quote #11

The last player will be excluded @Natsheh, i_aFrozen should be 33 slots wide.

Last edited by thEsp; 01-11-2021 at 09:48.
thEsp is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-11-2021 , 09:44   Re: I wanna some plugin for my knife server
Reply With Quote #12

Quote:
Originally Posted by thEsp View Post
The last player will be excluded @Natsheh, i_aFrozen should be 33 slots wide.
not really its pushing the first player in the first cell ( 0 ) so last player will be in the cell 31

the array size should be even 31 since we're excluding the command executer.
__________________
@Jailbreak Main Mod v2.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Last edited by Natsheh; 01-11-2021 at 09:51.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
husam124
Member
Join Date: Jul 2017
Location: Palestine
Old 01-11-2021 , 10:46   Re: I wanna some plugin for my knife server
Reply With Quote #13

Quote:
Originally Posted by Natsheh View Post
not really its pushing the first player in the first cell ( 0 ) so last player will be in the cell 31

the array size should be even 31 since we're excluding the command executer.
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.
__________________
The Best Plugin Maker

Last edited by husam124; 01-11-2021 at 11:21.
husam124 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-11-2021 , 13: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.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Last edited by Natsheh; 01-11-2021 at 13:58.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
husam124
Member
Join Date: Jul 2017
Location: Palestine
Old 01-11-2021 , 13:32   Re: I wanna some plugin for my knife server
Reply With Quote #15

Quote:
Originally Posted by Natsheh View Post
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)         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 ); }
ty <3
__________________
The Best Plugin Maker
husam124 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:15.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode