Raised This Month: $41 Target: $400
 10% 

[L4D & L4D2] Switch Players


Post New Thread Reply   
 
Thread Tools Display Modes
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 02-01-2019 , 20:51   Re: [L4D & L4D2] Switch Players
Reply With Quote #281

Quote:
Originally Posted by axelnieves2012 View Post
Crashed my game with this error:
1/ - player: UTIL_SetModel: not precached: models/survivors/survivor_gambler.mdl

This occurred when I switched myself to Infected team, on a Coop map (no mercy's intro)
You are using Nick's model in No Mercy. You sure you preacached it?
__________________
Spirit_12 is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 02-04-2019 , 04:04   Re: [L4D & L4D2] Switch Players
Reply With Quote #282

Quote:
Originally Posted by Spirit_12 View Post
You are using Nick's model in No Mercy. You sure you preacached it?
I am using !csm and !csp plugins. Do you think this error is caused by those?
axelnieves2012 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-04-2019 , 07:26   Re: [L4D & L4D2] Switch Players
Reply With Quote #283

Try using this plugin:

[L4D2] Game Files Precacher by cravenge
https://forums.alliedmods.net/showthread.php?p=2476653
Marttt is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 01-20-2020 , 12:51   Re: [L4D & L4D2] Switch Players
Reply With Quote #284

* Updated to new-syntax rules
Attached Files
File Type: sp Get Plugin or Get Source (L4DSwitchPlayers.sp - 102 views - 11.9 KB)
__________________


Last edited by Ja-Forces; 10-22-2020 at 19:47.
Ja-Forces is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 03-05-2020 , 02:40   Re: [L4D & L4D2] Switch Players
Reply With Quote #285

It works most of the time, but sometimes no...

L 03/05/2020 - 02:09:44: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 03/05/2020 - 02:09:44: [SM] Blaming: l4dswitchplayers.smx
L 03/05/2020 - 02:09:44: [SM] Call stack trace:
L 03/05/2020 - 02:09:44: [SM] [0] SetConVarInt
L 03/05/2020 - 02:09:44: [SM] [1] Line 356, plugin.sp:erformSwap
L 03/05/2020 - 02:09:44: [SM] [2] Line 227, plugin.sp::MenuHandler_SwitchPlayer
JLmelenchon is offline
Ocela
Junior Member
Join Date: Oct 2020
Old 10-21-2020 , 20:10   Re: [L4D & L4D2] Switch Players
Reply With Quote #286

Quote:
Originally Posted by Ja-Forces View Post
* Updated to new-syntax rules
Wow! That was quick. I noticed the error and immediately checked.
Ocela 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 15:39.


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