Raised This Month: $32 Target: $400
 8% 

FF2 Razorback free hit?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RasputinFF2
Junior Member
Join Date: Feb 2019
Old 05-16-2019 , 01:35   Razorback free hit?
Reply With Quote #1

Does anyone know how to configure the razorback to one hit as I seen this in one server.
__________________
Hey guys, just a boss creator passing by.
RasputinFF2 is offline
Batfoxkid
Senior Member
Join Date: Nov 2018
Location: ''On the map''
Old 05-16-2019 , 10:03   Re: Razorback free hit?
Reply With Quote #2

Replace the current one in FF2 code with
PHP Code:
stock FindPlayerBack(clientindex)
{
    new 
entity=MaxClients+1;
    while((
entity=FindEntityByClassname2(entity"tf_wearable*"))!=-1)
    {
        
decl String:netclass[32];
        if(
GetEntityNetClass(entitynetclasssizeof(netclass)) && StrContains(netclass"CTFWearable")!=-&& GetEntProp(entityProp_Send"m_iItemDefinitionIndex")==index && GetEntPropEnt(entityProp_Send"m_hOwnerEntity")==client && !GetEntProp(entityProp_Send"m_bDisguiseWearable"))
        {
            return 
entity;
        }
    }
    return -
1;

__________________
Batfoxkid 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 16:46.


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