[SNIPPET][CSS] using new entity env_hudhint
i wasn't sure where to post this so sorry if this is the wrong section, css can now use env_hudhint which means css can also use the "KeyHintText" usermessage e.g
PHP Code:
if you want to use the entity way. PHP Code:
|
Re: new css entity env_hudhint
Nice example. Moved to snippets
|
Re: [SNIPPET][CSS] using new entity env_hudhint
1 Attachment(s)
More information:
The hint holds for exactly 6 seconds and fades out then. Screenshot see below. |
Re: [SNIPPET][CSS] using new entity env_hudhint
Is that even visible to the naked eye?
|
Re: [SNIPPET][CSS] using new entity env_hudhint
Thanks blodia :D
|
Re: [SNIPPET][CSS] using new entity env_hudhint
Sorry for the double post, however I can't really get this going.
Code:
public OnMapStart() |
Re: [SNIPPET][CSS] using new entity env_hudhint
Why don't you use the usermessage version? It is less hacky.
Chris |
Re: [SNIPPET][CSS] using new entity env_hudhint
Quote:
EDIT: Yeah I'm a goof, got it. You can't pass the handle through a timer, at least I don't think... EDIT2: Don't even try to use new lines (\n), Server will segfault. |
Re: [SNIPPET][CSS] using new entity env_hudhint
Quote:
http://clip2net.com/clip/m30987/1281...-clip-99kb.jpg |
Re: [SNIPPET][CSS] using new entity env_hudhint
Quote:
|
Re: [SNIPPET][CSS] using new entity env_hudhint
Sure..
PHP Code:
|
Re: [SNIPPET][CSS] using new entity env_hudhint
Quote:
No idea what happened with mine then, server Segfaulted with sys_error at the top of the stack (during 6 startups, and a map change) >.< |
Re: [SNIPPET][CSS] using new entity env_hudhint
You can also specify with the first byte in the usermessage, how many lines you are going to send, and then do BfWriteString for each of the lines you want to send, that's how it is meant by Valve.
|
Re: [SNIPPET][CSS] using new entity env_hudhint
Maybe HPE fixed that crash & didn't say about it.
Beta verison changelog: Code:
Fixed bug with env_hudhint that caused problems when its value was greater than 255 characters. |
Re: [SNIPPET][CSS] using new entity env_hudhint
Made a little plugin out of this new feature. I figured it's another example to post here if someone wants to know how it can be used.
|
Re: [SNIPPET][CSS] using new entity env_hudhint
1 Attachment(s)
Another *Example* of this: https://forums.alliedmods.net/showthread.php?t=138503
|
Re: [SNIPPET][CSS] using new entity env_hudhint
is the position static or can it be changed??
|
Re: [SNIPPET][CSS] using new entity env_hudhint
Appears to be static, I'd love to move it around.
|
Re: [SNIPPET][CSS] using new entity env_hudhint
How Can I start a sp with that I didn't get, I want to show
Welcome to the server in the messages can anyone help me? |
| All times are GMT -4. The time now is 18:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.