AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   dhud (https://forums.alliedmods.net/showthread.php?t=321672)

Sanjay Singh 02-23-2020 01:41

dhud
 
what is use of bool:reliable?

PHP Code:

set_dhudmessagered 0green 160blue 0Float:= -1.0Float:0.65effects 2Float:fxtime 6.0Float:holdtime 3.0Float:fadeintime 0.1Float:fadeouttime 1.5bool:reliable false 


RaZ_HU 02-23-2020 03:59

Re: dhud
 
It changes the message mode that will be used.

PHP Code:

message_begin__dhud_reliable ? ( index MSG_ONE MSG_ALL ) : ( index MSG_ONE_UNRELIABLE MSG_BROADCAST ), SVC_DIRECTOR_index ); 


Sanjay Singh 02-23-2020 05:54

Re: dhud
 
is it good to use reliable true or it will lag?

thEsp 02-23-2020 07:10

Re: dhud
 
If the message is reliable and cannot be sent (fails), the server will crash.
P.S I strongly suggest you to search before making 100 god-damn threads.


All times are GMT -4. The time now is 12:54.

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