AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [SNIPPET][CSS] using new entity env_hudhint (https://forums.alliedmods.net/showthread.php?t=133287)

exvel 08-10-2010 11:35

Re: [SNIPPET][CSS] using new entity env_hudhint
 
Sure..
PHP Code:

decl String:szText[250];
Format(szTextsizeof(szText), "LINE #1\nLINE #2\nLINE #3\nLINE #4\nLINE #5\nLINE #6\nLINE #7\nLINE #8\nLINE #9\n");
    
new 
Handle:hBuffer StartMessageOne("KeyHintText"client);
BfWriteByte(hBuffer1);
BfWriteString(hBufferszText);
EndMessage(); 


KyleS 08-11-2010 05:17

Re: [SNIPPET][CSS] using new entity env_hudhint
 
Quote:

Originally Posted by exvel (Post 1267137)

:oops:

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) >.<

berni 08-11-2010 12:20

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.

KawMAN 08-11-2010 16:58

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.

GoD-Tony 08-15-2010 08:53

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.

KyleS 09-17-2010 03:37

Re: [SNIPPET][CSS] using new entity env_hudhint
 
1 Attachment(s)
Another *Example* of this: https://forums.alliedmods.net/showthread.php?t=138503

Master53 09-19-2010 17:03

Re: [SNIPPET][CSS] using new entity env_hudhint
 
is the position static or can it be changed??

KyleS 09-19-2010 23:17

Re: [SNIPPET][CSS] using new entity env_hudhint
 
Appears to be static, I'd love to move it around.

Chokitu 10-30-2014 18:37

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.