Raised This Month: $51 Target: $400
 12% 

I wanna some plugin for my knife server


Post New Thread Reply   
 
Thread Tools Display Modes
thEsp
BANNED
Join Date: Aug 2017
Old 01-11-2021 , 08: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 08:48.
thEsp is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-11-2021 , 08: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.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-11-2021 at 08:51.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
husam124
BANNED
Join Date: Jul 2017
Location: Usa
Old 01-11-2021 , 09: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.

Last edited by husam124; 01-11-2021 at 10:21.
husam124 is offline
Send a message via ICQ to husam124 Send a message via AIM to husam124 Send a message via Yahoo to husam124 Send a message via Skype™ to husam124
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
husam124
BANNED
Join Date: Jul 2017
Location: Usa
Old 01-11-2021 , 12: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
husam124 is offline
Send a message via ICQ to husam124 Send a message via AIM to husam124 Send a message via Yahoo to husam124 Send a message via Skype™ to husam124
Reply



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 17:06.


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