Raised This Month: $404 Target: $400
 101% 

cs go hegrenade explod timer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iFusion
Junior Member
Join Date: Oct 2018
Old 10-11-2018 , 14:17   cs go hegrenade explod timer
Reply With Quote #1

Hey! need script where hegrenade explod in 10 seconds. thanks
iFusion is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 10-12-2018 , 12:21   Re: cs go hegrenade explod timer
Reply With Quote #2

PHP Code:
#include <sdktools>
#pragma newdecls required


public void OnEntityCreated(int entity, const char[] class)
{
    if(
StrEqual(class, "hegrenade_projectile"))
    {
        
//Set detonate time
        
SetEntDataFloat(entityFindSendPropInfo("CBaseCSGrenadeProjectile""m_hThrower") + 36GetGameTime() + 10.0true);
    }

__________________
Pelipoika is offline
Reply


Thread Tools
Display Modes

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 15:33.


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