AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hooking the Resource File? (https://forums.alliedmods.net/showthread.php?t=47645)

Wilson [29th ID] 11-23-2006 04:19

Hooking the Resource File?
 
In day of defeat, there is a file, "dod/resource/dod_english.txt" - and I believe it's something similar for Counter-Strike.

I'm trying to hook these values and alter them. I'd like to change the name of the spectators team and "DEAD" to just ""

I've done it before by hooking a message where the #RESOURCE_NAME is sent, but I'm wondering if it can be done some way other than a message, because a few of them are not sent through a message.

Or is there a way to send them to a client to update them?

VEN 11-23-2006 05:35

Re: Hooking the Resource File?
 
I'd say that you can't alter such things.

Orangutanz 11-23-2006 08:19

Re: Hooking the Resource File?
 
That is handled clientside by the VGUI


All times are GMT -4. The time now is 06:53.

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