Hello,
I am using a custom componenet added on the player using OnPlayerInit(), although everytime I reload plugin it breaks the component and makes me have to reconnect to fix the object error. I assume the component is beliving it was updated, should I just destroy the component off all players on plugin reload and add it back to them?
Thanks,
Travis Butts
Component on player breaking each reloadSolved
Hello, TravisButts.
You should destroy the component in "Unload" hook and add in "OnServerInitialized" preferably.
You should destroy the component in "Unload" hook and add in "OnServerInitialized" preferably.
Yeah instead of doing two foreach's just doing one in OnServerInitilized, shoulda tried before posting but guess this is info for those who have this issue :D
Thanks though, misticos!
Thanks though, misticos!
Locked automatically