Thread: [Release] NadeSkins
View Single Post
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 05-17-2013 , 04:44   Re: NadeSkins
Reply With Quote #7

Quote:
Originally Posted by ApexPredator View Post
I'm getting a similar error.

L 05/17/2013 - 10:288: [SM] Native "SetEntityModel" reported: Entity 96 is not valid
L 05/17/2013 - 10:288: [SM] Displaying call stack trace for plugin "store/store-nadeskins.smx":
L 05/17/2013 - 10:288: [SM] [0] Line 204, /home/casper/Dropbox/GitHub/store-nadeskins/scripting/store-nadeskins.sp::OnGetPlayerNadeSkin()
Add a checker for valid entity and log errors will disappear, like this:
PHP Code:
if(IsValidEntity(entity)) SetEntityModel(entityg_skins[skin][SkinModelPath]); 
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco