Left 4 Dead 2
Survivor Collapse on Tongue Release
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)
Τελευταία επεξεργασία από Interneted; 23 Σεπ 2024, 20:00
< >
Εμφάνιση 1-1 από 1 σχόλια
Withgreen1  [δημιουργός] 23 Σεπ 2024, 22:07 
Thank you so much for the help dude :3
I appreciate it a lot <3
< >
Εμφάνιση 1-1 από 1 σχόλια
Ανά σελίδα: 1530 50