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 @ 8: 00pm
< >
กำลังแสดง 1-1 จาก 1 ความเห็น
Withgreen1  [ผู้พัฒนา] 23 ก.ย. 2024 @ 10: 07pm 
Thank you so much for the help dude :3
I appreciate it a lot <3
< >
กำลังแสดง 1-1 จาก 1 ความเห็น
ต่อหน้า: 1530 50