GSC/ Need Help Removing guns from mp server on connect
-
im looking for some help writing a gsc function that can recognize a banned weapon and remove it from the CAC loadout when their player spawns, i need this function to work in tdm/dom any help would be greatly appreciated
-
I have this for bots. Not on PC rn so ping me and I'll send it when on PC
-
xGuroo https://github.com/xerxes-at/T6ServerConfigs/tree/master/localappdata/Plutonium/storage/t6/recipes/mp just use the new recipe system to easily restrict items/attachments
You can also just edit your restrictions in a custom game and then use the command savedsr <name> in the console to save it to %localappdata%/storage/t6/recipes/mp.
Then you load it by putting the recipe in your server's recipes/mp folder, and either put the dsr token followed by the dsr's name in the sv_maprotation when executing the config or by putting the dsr command with the dsr name as its argument in the gamesettings config.
-
i was attempting this for xbox, seeing how universal gsc can go, just having trouble writing it i have my this list to give you an idea
restrict()
{
level.WeaponRestrict= "riotshield_mp,usrpg_mp,smaw_mp,concussion_grenade_mp,willy_pete_mp,emp_grenade_mp,flash_grenade_mp,sticky_grenade_mp,bouncingbetty_mp,satchel_charge_mp,claymore_mp,killstreak_missile_swarm_mp,killstreak_dogs_mp,killstreak_emp_mp,killstreak_minigun_mp,killstreak_m32_mp";
} -
JezuzLizard i can load certain things and parts of code, but im not able to adjust core game mechanics without loading sometype of mod, on my jtag, thats why im focusing on trying to find help in gsc. i can load any gsc through my menu