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

Bad Camper 1.4.239


Post New Thread Reply   
 
Thread Tools Display Modes
MrGarfield
Senior Member
Join Date: Feb 2013
Old 02-15-2020 , 15:16   Re: Bad Camper 1.4.239
Reply With Quote #21

I just remade a clean file

Code:
/*
punish_slap(id, Float:punishPercentage)
{
    for (new slapCnt = 1; slapCnt <= floatround(3.0 * punishPercentage, floatround_ceil); slapCnt++)
        user_slap(id, 0);
}
*/
punish_slap(id, Float:punishPercentage){
for (new slapCnt = 1; slapCnt <= floatround(3.0 * punishPercentage, floatround_ceil); slapCnt++)
        if(!is_user_bot(id) && is_user_alive(id) && is_user_connected(id))
        {
        user_slap(id, 0);
        }
}
ok the bots are no longer slapped, but the hubs for the bots appear

but this line cuts the plugin for humans?

Code:
 // ignore the meter if the player can legally camp or the player's meter is being ignored
        if (allowTeamCamp[teamID] || (g_playerFlags[id] & METER_IGNORE) || !is_user_bot(id) ) continue;
MrGarfield is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 02-15-2020 , 15:29   Re: Bad Camper 1.4.239
Reply With Quote #22

Test the one I made with the additonal cvars on the thread if you like. It hasn't given me any trouble.
__________________
DJEarthQuake is offline
MrGarfield
Senior Member
Join Date: Feb 2013
Old 02-16-2020 , 02:38   Re: Bad Camper 1.4.239
Reply With Quote #23

ok cool it's good all the hubs are gone thank you
MrGarfield is offline
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 21:19.


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