View Single Post
Smilex_Gamer
Senior Member
Join Date: Apr 2017
Location: Portugal
Old 09-20-2020 , 10:55   Re: CSO Costumes v3.7
Reply With Quote #106

Update 3.7 (20/09/2020):

Added a verification code to check if the player's current costume doesn't exist in Nvault (I forgot to add this when I implemented Nvault in the plugin).
Added a verification code to check if the file "costumes.ini" is missing.
Switched get_maxplayers() loop with get_players() in order to decrease native calls.
Cached if the player is a bot/hltv and if the player is connected to decrease native calls.
Optimized Load_Configuration() and Load_Costumes() code.
Hooked FM_Sys_Error, FM_GameShutdown and FM_ServerDeactivate to save data.
Removed unnecessary code.
Added new translations.

Last edited by Smilex_Gamer; 09-20-2020 at 11:02.
Smilex_Gamer is offline