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

Help / Support Help [zombie plague]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XIX
Junior Member
Join Date: May 2012
Location: Prishtinė
Old 04-06-2023 , 21:05   Help [zombie plague]
Reply With Quote #1

i need only knife block when not start the round in Zombie plague mode.. anyone to edit this sma ?

#include <amxmodx>
#include <fakemeta>
#include <zombieplague>

public plugin_init()
{
register_plugin("not attack when round begin", "0.1", "Dolph_ziggler")
register_forward( FM_CmdStart , "fm_CmdStart" );
}

public fm_CmdStart(id,Handle)
{
new Buttons; Buttons = get_uc(Handle,UC_Buttons);
if(is_user_alive(id) && !zp_has_round_started())
{
Buttons &= ~IN_ATTACK;
set_uc( Handle , UC_Buttons , Buttons );
return FMRES_SUPERCEDE;
}
return FMRES_IGNORED;
}
XIX is offline
Send a message via Skype™ to XIX
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 03:08.


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