Thread
:
[CS:GO] Server crashes when terrorist dies
View Single Post
boink
Member
Join Date: May 2021
Location: Australia
09-28-2022 , 19:40 Re: [CS:GO] Server crashes when terrorist dies
#
2
From experience, if you set a players model to an empty model, eg. SetEntityModel(i, ""), the server will crash when they die.
I had this issue for a loooonggg time before figuring out why, however I was only setting players' models to other player skins so it's possible you are not setting an invalid model and it might be an issue with the model itself?
I would assign dust_models[gen_random_number()] to a variable then check to make sure it's not empty before setting their model.
__________________
@.boink. on Discord | DM for Plugin Requests |
Tip Jar
boink
View Public Profile
Send a private message to boink
Find More Posts by boink