RSSy MYGO.pl Opublikowano Sierpień 15, 2018 o 01:26 RSSy Udostępnij Opublikowano Sierpień 15, 2018 o 01:26 Introduction This is just a simple plugin I wrote because I was bored. Basically, server owners can set what loadouts each player starts with. Bots share the same loadout since their "ID" is just "BOT" so there's no point in even setting a loadout for each of them.How It Works When a player joins, the plugin looks for their Steam ID in the config file. If it's not listed, they will be given the default pack. When the plugin is reloaded, the plugin will give players the same loadout again.Command sm_starter <#userid|name> "item1,item2,item3,item4,item5" Example: sm_starter @me "smg,pistol,pain_pills" (Character limit for loadout is 325 including commas.)KeyValues Settings PHP Code: "Survivor Starter Pack" { "General" { "Plugin Enabled" "1" // 0: Plugin is off, 1: Plugin is on "Default Pack" "smg,pistol,pain_pills" // This loadout is used when the player's Steam ID isn't listed below... } // This is my Steam ID as an example... "STEAM_0:1:48199803" { "Starter Pack" "autoshotgun,knife,molotov,first_aid_kit,adrenaline" } } Bugs I'm not sure. Let me know.Notes 1. The config file will be generated in the default cfg/sourcemod folder. 2. Use the sm_starter command to add new Steam IDs to the config file. (You can still manually add Steam IDs yourself out of the game.)Requirement SM 1.9Installation 1. Place survivor_starter_pack.smx inside plugins folder. Attached Files Get Plugin or Get Source (survivor_starter_pack.sp - 5.8 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się