Left 4 Dead 2

Left 4 Dead 2

Survivor Collapse on Tongue Release
Interneted 23. sep. 2024 kl. 19:58
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)
Sidst redigeret af Interneted; 23. sep. 2024 kl. 20:00
< >
Viser 1-1 af 1 kommentarer
Withgreen1  [udvikler] 23. sep. 2024 kl. 22:07 
Thank you so much for the help dude :3
I appreciate it a lot <3
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50