Raised This Month: $ Target: $400
 0% 

[REQUEST] Friendlyfire checker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
WhiteFang1319
Senior Member
Join Date: Jan 2017
Old 10-08-2017 , 06:29   Re: [REQUEST] Friendlyfire checker
Reply With Quote #2

Why would you need it? Just set it to 0 in server.cfg and amxx.cfg. Don't give change cvar access to your admins if they'll do it. You can use this, it will set friendlyfire 0 on every round start.
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Anti-FriendlyFire"
#define VERSION "1.0"
#define AUTHOR "WhiteFang"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_logevent("new_round"2"1=Round_Start")
    
}
public 
new_round()
{
        
//Setting Friendlyfire 0 on new round
    
server_cmd("mp_friendlyfire 0");


Last edited by WhiteFang1319; 10-08-2017 at 06:31.
WhiteFang1319 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 09:59.


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