So I'm trying to semi-disable (if that's a word) the skin changing process. I want to force players to re-log back into the game to change their skins. By force I don't mean that players actually get disconnected by the game but instead a message that pops up saying 'In order to change your skin you must re-log'. After looking into files like player_switchModel.sqf, player_humanityMorph.sqf, player_wearClothes.sqf I managed to go as far as disabling the model-changing and getting the message to pop up. But I can't seem to actually apply the skin change to their character in my database. Their clothing item disappears and Civilian clothes appears but if they re-log they still have their civilian clothing on.
I didn't see a code that would actually update the player's model on the database so I'm assuming it doesn't actually do that? It just relies on player_sync to update their current model.
Unless I'm completely wrong and I missed something.
Anyway, if anyone knows a workaround that can lead to that, that'd be great.
Question
Rocu
So I'm trying to semi-disable (if that's a word) the skin changing process. I want to force players to re-log back into the game to change their skins. By force I don't mean that players actually get disconnected by the game but instead a message that pops up saying 'In order to change your skin you must re-log'. After looking into files like player_switchModel.sqf, player_humanityMorph.sqf, player_wearClothes.sqf I managed to go as far as disabling the model-changing and getting the message to pop up. But I can't seem to actually apply the skin change to their character in my database. Their clothing item disappears and Civilian clothes appears but if they re-log they still have their civilian clothing on.
I didn't see a code that would actually update the player's model on the database so I'm assuming it doesn't actually do that? It just relies on player_sync to update their current model.
Unless I'm completely wrong and I missed something.
Anyway, if anyone knows a workaround that can lead to that, that'd be great.
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now