Raised This Month: $32 Target: $400
 8% 

Change text in defuse animation?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 02-25-2018 , 07:27   Change text in defuse animation?
Reply With Quote #1



I created defuse animation. But I have a question. Can I change texts in the defuse animation?

Like "you are defusing the bomb" change to "wait for teleporting" etc.
__________________

Last edited by vortex.; 02-25-2018 at 07:28.
vortex. is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-25-2018 , 08:05   Re: Change text in defuse animation?
Reply With Quote #2

Quote:
Originally Posted by vortex. View Post
I created defuse animation. But I have a question. Can I change texts in the defuse animation?

Like "you are defusing the bomb" change to "wait for teleporting" etc.
Maybe share the code if you expect people to help you with it?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 02-25-2018 , 08:08   Re: Change text in defuse animation?
Reply With Quote #3

PHP Code:
    SetEntPropFloat(clientProp_Send"m_flProgressBarStartTime"GetGameTime());
    
SetEntProp(clientProp_Send"m_iProgressBarDuration"10); 
I just asked, can I change texts in the animation?
__________________
vortex. is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 02-25-2018 , 22:14   Re: Change text in defuse animation?
Reply With Quote #4

"m_progressBarText" netprop exists in CS:GO. Nope, just checked.

Last edited by cravenge; 02-26-2018 at 09:03.
cravenge 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 09:47.


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