Left 4 Dead 2

Left 4 Dead 2

Survivor Collapse on Tongue Release
Interneted 23 Sep, 2024 @ 7:58pm
Here's a fix for the console errors :)
So for the console errors you need to check if saved is null because of the second firation, then stop the function using return statement.
local saved = GetPlayerFromUserID(params.victim); if(saved == null) { return; } local incap = saved.IsIncapacitated();

To avoid event conflicts, you can do this.
::MyCustomScope <- { function OnGameEvent_tongue_release(params) { // All of your code here :) } // You can put more unique events if you want to in this scope, other scripts that use the same events will no longer conflict :) } __CollectGameEventCallbacks(::MyCustomScope)
Last edited by Interneted; 23 Sep, 2024 @ 8:00pm
< >
Showing 1-1 of 1 comments
Withgreen1  [developer] 23 Sep, 2024 @ 10:07pm 
Thank you so much for the help dude :3
I appreciate it a lot <3
< >
Showing 1-1 of 1 comments
Per page: 1530 50