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

[L4D/L4D2]ThirdPersonShoulder_Detect(1.5.3 - 08/06/2020)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Plugin ID:
5665
Plugin Version:
1.5.3
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Forwards the varable of c_thirdpersonshoulder client convar
    Old 06-19-2017 , 06:03   [L4D/L4D2]ThirdPersonShoulder_Detect(1.5.3 - 08/06/2020)
    Reply With Quote #1

    Simple Forwarding plugin so querying the client convar c_thirdpersonshoulder only happens once not multiple at once by otherplugins to lower client upstream, just by using a simple forward.

    PHP Code:
    /**
    *    @param     iClient            Client Index.
    *    @param     bIsThirdPerson    true = Is in thirdperson shoulder, false otherwise.
    */
    forward void TP_OnThirdPersonChanged(int iClientbool bIsThirdPerson); 
    Plugin Includes fixes when c_thirdpersonshoulder = true
    but client is still first person.

    Plugins that use this:
    [L4D/L4D2]Lux's Model Changer
    [L4D/L4D2] Shotgun Sound Fix
    [L4D2]Survivor_Legs

    GitHub
    Attached Files
    File Type: inc ThirdPersonShoulder_Detect.inc (315 Bytes, 5558 views)
    File Type: sp Get Plugin or Get Source (ThirdPersonShoulder_Detect.sp - 9506 views - 4.5 KB)
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 06-09-2020 at 03:48. Reason: Added "RegPluginLibrary("ThirdPersonShoulder_Detect")"
    Lux 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 18:06.


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