Thread: [Solved] L4D Nav Mesh Attributes
View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 08-23-2022 , 13:37   Re: L4D Nav Mesh Attributes
Reply With Quote #5

I heard that is possible to do that with left4dhooks vscripts functions, but I was never able to make it run.
One example from left4dhooks_test

PHP Code:
char buffer[128];
Format(buffersizeof(buffer), "GetCurrentFlowPercentForPlayer(%d)"client);
if( 
L4D2_GetVScriptOutput(bufferbuffersizeof(buffer)) )
    
PrintToServer("VScript: GetCurrentFlowPercentForPlayer(%d) = %s"clientbuffer); 
__________________

Last edited by Marttt; 08-23-2022 at 13:41.
Marttt is offline