AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved L4D2 - add message along with camera event (https://forums.alliedmods.net/showthread.php?t=335217)

AsphyxiaJLSA 11-15-2021 18:40

L4D2 - add message along with camera event
 
Can you help me add a message along with the camera event?


CAMERA MIN 0:48

Marttt 11-15-2021 19:54

Re: L4D2 - add message along with camera event
 
use this:

PHP Code:

add:
{
"targetname" "yourhinttargetname"
"hint_caption" "Add text here"
"hint_icon_onscreen" "icon_tip"
"hint_color" "255 0 0"
"hint_static" "1"
"classname" "env_instructor_hint"


then display/hide through inputs:

PHP Code:

{
;...
NOTEthe inputs below depends on your entity...
"OnPressed" "yourhinttargetname,EndHint,,0,-1"
"OnUnPressed" "yourhinttargetname,ShowHint,,0,-1"
"OnTimeUp" "yourhinttargetname,Kill,,0,-1"




All times are GMT -4. The time now is 05:35.

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