Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] SM Respawn command


Post New Thread Reply   
 
Thread Tools Display Modes
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 10-21-2021 , 23:04   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #311

Updated Game Data Signatures
If someone could review and affirm the initial compensations, Thank you very much

Signature credits updated to Psykotik for signatures
Attached Files
File Type: txt l4drespawn.txt (1.8 KB, 159 views)
VladimirTk is offline
SuperNoob
Junior Member
Join Date: Jul 2022
Old 09-20-2022 , 06:09   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #312

Hello

g_cvLoadout = CreateConVar("l4d_sm_respawn_loadout", "smg,pistol,pain_pills", "Respawn survivor players with this loadout", CVAR_FLAGS);

I changed this one for

g_cvLoadout = CreateConVar("l4d_sm_respawn_loadout", "ak47,catana", "Respawn survivor players with this loadout", CVAR_FLAGS);

But it still revives with smg,pistol,pain_pills.

What is mistake?

Last edited by SuperNoob; 09-20-2022 at 06:09.
SuperNoob is offline
moschinovac
Member
Join Date: Mar 2019
Location: Vietnam
Old 09-20-2022 , 12:53   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #313

Quote:
Originally Posted by SuperNoob View Post
Hello

g_cvLoadout = CreateConVar("l4d_sm_respawn_loadout", "smg,pistol,pain_pills", "Respawn survivor players with this loadout", CVAR_FLAGS);

I changed this one for

g_cvLoadout = CreateConVar("l4d_sm_respawn_loadout", "ak47,catana", "Respawn survivor players with this loadout", CVAR_FLAGS);

But it still revives with smg,pistol,pain_pills.

What is mistake?
g_cvLoadout = CreateConVar("l4d_sm_respawn_loadout", "rifle_ak47,katana", "Respawn survivor players with this loadout", CVAR_FLAGS);
moschinovac is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-20-2022 , 13:04   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #314

The plugin creates a cvar config "l4d_sm_respawn.cfg" in your games "cfg/sourcemod" folder and loads those values, change it there, not within the plugin.
__________________
Silvers is offline
SuperNoob
Junior Member
Join Date: Jul 2022
Old 09-21-2022 , 08:16   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #315

Quote:
Originally Posted by moschinovac View Post
g_cvLoadout = CreateConVar("l4d_sm_respawn_loadout", "rifle_ak47,katana", "Respawn survivor players with this loadout", CVAR_FLAGS);
Thank you!
SuperNoob is offline
SuperNoob
Junior Member
Join Date: Jul 2022
Old 09-21-2022 , 08:23   Re: [L4D & L4D2] SM Respawn command
Reply With Quote #316

Quote:
Originally Posted by Silvers View Post
The plugin creates a cvar config "l4d_sm_respawn.cfg" in your games "cfg/sourcemod" folder and loads those values, change it there, not within the plugin.
Yea, i changed it too

l4d_sm_respawn_loadout "rifle_ak47,katana"

Now it respawn with AK always, with katana not always, but with med kits and pills.
SuperNoob is offline
Reply



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 07:38.


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