Raised This Month: $ Target: $400
 0% 

cannot set c4 think time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-24-2018 , 20:35   cannot set c4 think time
Reply With Quote #1

I have not been scripting since 2014 ... I`m trying to set c4 think time ( using custom model + blood )


PHP Code:
public fw_grenade_think(ent)
{
    
    new 
l_model[51]
    
entity_get_string(entEV_SZ_modell_model50)
    if (!
equal(l_model"models/player/secret.mdl"))
        return 
HAM_IGNORED
        
    set_pev
(entpev_nextthinkget_gametime() + 1.0)     
    
    
//server_print("found %d  %s", ent,l_model);    

    

grenade ent still thinks too fast.
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Old 08-25-2018, 06:08
HamletEagle
This message has been deleted by HamletEagle.
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 08-25-2018 , 21:40   Re: cannot set c4 think time
Reply With Quote #2

Hook pre and supercede it? If you're hooking through Ham_Think, of course.
__________________








CrazY. is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-27-2018 , 21:06   Re: cannot set c4 think time
Reply With Quote #3

thanks bro, for reminding me about supercede .
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne 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 23:32.


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