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
__________________