Raised This Month: $2 Target: $400
 0% 

Solved [CS:GO] Entity prop server crash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ivenuss
Junior Member
Join Date: Nov 2019
Location: Czech
Old 06-04-2020 , 14:20   [CS:GO] Entity prop server crash
Reply With Quote #1

Hello I am having trouble with PROP models, when player get PROP model and dies with it or get killed, then his game crash. If you know how to fix it, I really apprecea it.

PHP Code:
public void OnMapStart()
{
    
PrecacheModel("models/props_urban/plastic_chair001.mdl"true);
}

public 
Action Cmd_Model(int clientint args)
{
    
SetEntityModel(client"models/props_urban/plastic_chair001.mdl");


Last edited by ivenuss; 06-05-2020 at 04:50.
ivenuss is offline
kadet.89
Veteran Member
Join Date: Nov 2012
Old 06-04-2020 , 16:19   Re: [CS:GO] Entity prop server crash
Reply With Quote #2

What if set the model back to the original one right before player dies. You can take over a solution from here: https://forums.alliedmods.net/showthread.php?p=2384364

Last edited by kadet.89; 06-04-2020 at 16:20.
kadet.89 is offline
Send a message via Skype™ to kadet.89
ivenuss
Junior Member
Join Date: Nov 2019
Location: Czech
Old 06-05-2020 , 04:48   Re: [CS:GO] Entity prop server crash
Reply With Quote #3

Quote:
Originally Posted by kadet.89 View Post
What if set the model back to the original one right before player dies. You can take over a solution from here: https://forums.alliedmods.net/showthread.php?p=2384364
That solved the problem, thanks for help.

Last edited by ivenuss; 06-05-2020 at 04:49.
ivenuss is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:25.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode