Guest User

Stat Creator JIP Bug Fix

a guest
Jan 2nd, 2025
511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | Source Code | 0 0
  1. Stat_Creator_JIP_Fix := class(creative_device):
  2. @editable StatCreator : stat_creator_device = stat_creator_device{}
  3. @editable DisableChannel : channel_device = channel_device{}
  4. @editable EnableChannel : channel_device = channel_device{}
  5.  
  6. OnBegin<override>()<suspends>:void=
  7. GetPlayspace().PlayerAddedEvent().Subscribe(OnPlayerJoin)
  8.  
  9. OnPlayerJoin(Player : player): void=
  10. spawn. JIPFix(Player)
  11.  
  12. JIPFix(Player : player)<suspends>: void=
  13. DisableChannel.Transmit(false)
  14. Sleep(1.2)
  15. EnableChannel.Transmit(false)
Tags: Verse
Advertisement
Add Comment
Please, Sign In to add comment