Hi all,
I don't know if this plugin is still maintained by someone (at least I wasn't able to find any repository to do a pull request...):
I use this plugin with shivaah's MultiCfg, which is working pretty well. Unfortunately after a new cfg has been loaded, all players are forced to respawn:
Code:
if (g_bConfig_Enabled && !old_enabled)
{
players_ResetAllClientsSettings();
players_RespawnAll();
SetBuyZones("Disable");
decl String:status[10];
status = (g_bConfig_RemoveObjectives) ? "Disable" : "Enable";
SetObjectives(status);
}
I tried to disable the respawn by outcommenting the line, unfortunately I was not able to compile (I guess I have to use an older version of sourcemod compiler then...):
Code:
spcomp deathmatch.sp
SourcePawn Compiler 1.10.0.6454
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2018 AlliedModders LLC
deathmatch/user_messages.sp(39) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Typedefs
Compilation aborted.
1 Error.
Is it possible to select the respawn function by any optional cvar / plugin setting, so that players are not respawned? By loading the new config you have to give them some standard weapons for that round, but it is mad, that the respawn every X minutes, when a new cfg round is starting.
Thank you for paying attention.
edit:
Another question: Is it possible to re-bind "g" to "say !guns", so that users will have the possibility to select the weapons by "dropping" them instead of writing in the chat section?
edit2
Tried to change the source file i found a few posts back (M4 mag size correction) and stranded here, maybe I'll try to continue tomorrow:
Code:
spcomp deathmatch.sp
SourcePawn Compiler 1.10.0.6454
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2018 AlliedModders LLC
deathmatch/smc_reader.sp(120) : error 130: cannot coerce functions to values
deathmatch/cvars.sp(131) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/cvars.sp(159) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
deathmatch/cvars.sp(220) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
deathmatch/weapons.sp(94) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/weapons.sp(106) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/weapons.sp(129) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/weapons.sp(130) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/weapons.sp(131) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/weapons.sp(132) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/weapons.sp(133) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(62) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/players.sp(63) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/players.sp(65) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/players.sp(66) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/players.sp(71) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(72) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(73) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(74) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(75) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(76) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(77) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(78) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(79) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(80) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(81) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(82) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(83) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
deathmatch/players.sp(133) : warning 229: index tag mismatch (symbol "deSerialisedRewards")
deathmatch/players.sp(551) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/players.sp(671) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/players.sp(673) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/players.sp(698) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/players.sp(1359) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/user_messages.sp(40) : error 139: could not find type "clientIndex"
deathmatch/user_messages.sp(43) : error 001: expected token: "function", but found "-identifier-"
deathmatch/user_messages.sp(43) : error 001: expected token: "(", but found ";"
deathmatch/user_messages.sp(45) : error 001: expected token: "-identifier-", but found "stock"
deathmatch/user_messages.sp(47) : error 017: undefined symbol "g_hUserMessages_MessagesArray"
deathmatch/user_messages.sp(85) : error 130: cannot coerce functions to values
deathmatch/user_messages.sp(94) : error 017: undefined symbol "g_hUserMessages_MessagesArray"
deathmatch/user_messages.sp(101) : error 017: undefined symbol "g_hUserMessages_MessagesArray"
deathmatch/user_messages.sp(107) : error 017: undefined symbol "g_hUserMessages_MessagesArray"
deathmatch/user_messages.sp(243) : error 163: indeterminate array size in "sizeof" expression (symbol "message")
deathmatch/config_messages.sp(50) : error 163: indeterminate array size in "sizeof" expression (symbol "text")
deathmatch/config_messages.sp(84) : error 163: indeterminate array size in "sizeof" expression (symbol "text")
deathmatch/config_messages.sp(140) : error 163: indeterminate array size in "sizeof" expression (symbol "text")
deathmatch/config_messages.sp(151) : error 163: indeterminate array size in "sizeof" expression (symbol "text")
deathmatch/menus.sp(10) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
deathmatch/admin_menu.sp(220) : error 163: indeterminate array size in "sizeof" expression (symbol "name")