Raised This Month: $ Target: $400
 0% 

SM Parachute


Post New Thread Reply   
 
Thread Tools Display Modes
Author
natrios
Senior Member
Join Date: Feb 2014
Plugin ID:
270
Plugin Version:
2.5
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    5997 
    Plugin Description:
    SourceMod Parachute 2.5 with Model Final
    Old 10-21-2017 , 07:50   Re: SM Parachute
    Reply With Quote #1

    Hey, i use Shavit Timer.

    I would like the timer to stop when the parachute is in use.

    This is "native" from shavit timer |(core.sp):
    HTML Code:
    CreateNative("Shavit_StopTimer", Native_StopTimer);

    Can someone edit the plugin in such a way that it stops the timer?
    I use parachute Gravity Fix and Teleport Fix from sm_parachute-no-tp&no-grav

    //

    I try this:

    HTML Code:
    #include <sourcemod> 
    #include <sdktools> 
    #include <shavit> 
    
    public Action OnPlayerRunCmd( int client, int &buttons ) 
    { 
        if ( buttons & IN_USE ) 
        { 
            Shavit_StopTimer(client); 
        } 
    }
    but don't work. I wants the timer to stop, when a parachute model appears.
    On some maps you have to press the button, standing on the ground.I do not want the timer to stop.

    Thanks
    __________________

    natrios 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 04:11.


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