RSSy MYGO.pl Opublikowano Wrzesień 2, 2018 o 03:45 RSSy Udostępnij Opublikowano Wrzesień 2, 2018 o 03:45 [TF2] Trail Gun Description: This is a cosmetic plugin for server donors which allows them to shoot props with trails out of their gun. Props will be despawned after a short amount of time and only root admins can spam shoot.Dependencies: VPhysics - by asherkin Video Demonstration:CVARS:Listed in your cfg/sourcemod/plugin.trailgun.cfg (which is generated when the plugin is loaded) sm_trailgun_weapon - (Default: tf_weapon_flaregun) What weapon(s) is/are used as the trail gun? Separate classnames with a comma. Put \"all\" if you want all weapons to be considered as a trailgun. sm_trailgun_weapon_slot - (Default: -1) Which weapon slot should the trailgun be used on? -1 = All weapon slots are allowed, 0 = Primary Slot, 1 = Secondary Slot, 2 = Melee Slot sm_trailgun_button - (Default: 2) Which button shoots the trail gun? 1 = +attack, 2 = +attack2, 3 = +attack3, 4 = +use sm_trailgun_despawn_time - (Default: 6) After a prop & trail is shot out of the gun, how many seconds till it despawns? sm_trailgun_delay - (Default: 4.0) Time in seconds before a prop can be shot again. Command: sm_trailgun - (Default Access: ADMFLAG_RESERVATION) Opens the Trail Gun menu. Command Override:This would go in your addons/sourcemod/configs/admin_overrides.cfg sm_trailgun_override_delay - (Default Access: ADMFLAG_ROOT) This is the override to bypass the shooting delay time. Developer Native: PHP Code: /** * Does the player have the trailgun enabled? * * @param1 client - player's client index * @return True if the player has it enabled, false otherwise */ native bool TG_Enabled(int client); Installation: A brain installed to your PCI-Express-brain slot in your head(Between your ears), make sure it's updated to the latest driver and has the "know how to manage a server" module installed. Install Sourcemod. Install VPhysics extension. Download the plugin at the bottom of the post. Extract the zip to your addons/sourcemod/ folder. Restart the server or type "sm plugins load trailgun" in your server console. To-Do List: Add support for custom trails and props Suggest more Changelog: Spoiler v1.0, 9-1-2018 Initial release. ➤Download➤Source➤GitLab 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ę