Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Elevator Teleport - v1.6 | 03/01/2023


Post New Thread Reply   
 
Thread Tools Display Modes
Author
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Plugin ID:
8144
Plugin Version:
1.6
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Teleport Survivors To The Elevator After Count Down Passes
    Old 08-06-2022 , 02:30   Re: [L4D/L4D2] Elevator Teleport - v1.0 | Teleport Survivors With Count Down
    Reply With Quote #1

    Quote:
    Originally Posted by Silvers View Post
    You have a redundant check for "if (i && I" in a loop where i is specified from 1.

    I think this whole plugin needs to be re-written, there could be many false positives, you have many repeating timers for no reason.

    You should hook the elevators actual "use" button or whatever triggers it to move and then do the actions required, not just blindly listening for the "player_use" and "success_checkpoint_button_used" events which could be triggered by other things, you have no checks to verify otherwise. If you want to see how to hook the use button, look at the "Lift Music" and maybe "Lift Control" plugins I wrote.
    I will definitely take a look at it, thank you Silvers
    __________________
    alasfourom 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 01:01.


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