Raised This Month: $ Target: $400
 0% 

simple plugin request (sma to sp)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
generals
Senior Member
Join Date: Aug 2018
Old 09-21-2019 , 04:52   simple plugin request (sma to sp)
Reply With Quote #1

hi

anyone can convert this plugin to sp? (i want for zombie reloaded)

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <zombieplague>

public plugin_init()
{
    
register_plugin("Bot not attack when round begin""0.1""Dolph_ziggler")
    
register_forwardFM_CmdStart "fm_CmdStart" );
}

public 
fm_CmdStart(id,Handle)
{
    new 
ButtonsButtons get_uc(Handle,UC_Buttons);
    if(
is_user_bot(id) && !zp_has_round_started())
    {
        
Buttons &= ~IN_ATTACK;
        
set_ucHandle UC_Buttons Buttons );
        return 
FMRES_SUPERCEDE;
    }
    return 
FMRES_IGNORED;


Last edited by generals; 09-21-2019 at 04:53.
generals is offline
 



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


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