Search found 12 matches

by Grubbsy
Wed May 12, 2021 1:55 am
Forum: Plugin Development Support
Topic: [CSGO] Setting Hand Viewmodel
Replies: 6
Views: 4746

Re: [CSGO] Setting Hand Viewmodel

Yeah, it's just custom models, like the one I was trying to use that wouldn't work. It gives me the Heavy Assault suit arms when I try changing to the custom model hands. (when having an agent equipped, specifically Bloody Miami Darryl, I haven't tested with anyone else).
by Grubbsy
Wed May 05, 2021 12:12 am
Forum: Plugin Development Support
Topic: [CSGO] Setting Hand Viewmodel
Replies: 6
Views: 4746

Re: [CSGO] Setting Hand Viewmodel

Setting the m_szArmsModel property should work: # ../change_model/change_model.py # Source.Python from commands import CommandReturn from commands.client import ClientCommand from engines.precache import Model from engines.server import engine_server from players.entity import Player model_path = &...
by Grubbsy
Sun May 02, 2021 9:47 pm
Forum: Plugin Development Support
Topic: [CSGO] Setting Hand Viewmodel
Replies: 6
Views: 4746

[CSGO] Setting Hand Viewmodel

I made myself a command in my plugin to allow players to set their player models to custom models that are downloaded, and I wanted to be able to set the ViewModel to the ones included. However, I'm not sure how to do this. # Model Link: https://gamebanana.com/skins/171233 # Model Path: "models...
by Grubbsy
Sat Apr 24, 2021 2:31 pm
Forum: Plugin Development Support
Topic: Delete Player Weapons On Death.
Replies: 7
Views: 4540

Re: Delete Player Weapons On Death.

Since players drop their weapons when they die, hooking "drop_weapon" is a simplest way to implement this. # Entities from entities.hooks import EntityCondition from entities.hooks import EntityPostHook # Memory from memory import make_object # Players from players.entity import Player # ...
by Grubbsy
Wed Apr 21, 2021 12:54 am
Forum: Plugin Development Support
Topic: Delete Player Weapons On Death.
Replies: 7
Views: 4540

Re: Delete Player Weapons On Death.

The code works well, except for when you headshot a player with armor lol.
by Grubbsy
Sat Apr 17, 2021 1:45 pm
Forum: Plugin Development Support
Topic: Delete Player Weapons On Death.
Replies: 7
Views: 4540

Delete Player Weapons On Death.

I'm trying to have my plugin remove player weapons when they die. but only if they are Counter-Terrorists.- @PreEvent('player_death') def pre_player_death(data): victim = _players.from_userid(data['userid']) if victim.team == 3: print("victim was a ct...
by Grubbsy
Tue Nov 24, 2020 4:40 pm
Forum: Plugin Requests
Topic: [CSGO/ANY] Weather/Time Plugin.
Replies: 3
Views: 3142

Re: [CSGO/ANY] Weather/Time Plugin.

Thanks! This helped out a lot! I tested by making the map REALLY dark *light value was b* and changing the skybox to sky_lunacy for shits n giggles :) I made a few minor edits like making the skybox a global variable so that it will constantly update for players when joining instead of returning the...
by Grubbsy
Mon Nov 23, 2020 11:53 pm
Forum: Plugin Requests
Topic: [CSGO/ANY] Weather/Time Plugin.
Replies: 3
Views: 3142

[CSGO/ANY] Weather/Time Plugin.

I want a plugin to be able to change the weather of a map. I have no reference videos or images to post other than wanting to be able to reload the map and have a func_priciptation/whatever causes rain I also want to be able to edit the light_environment/ light levels on it (Not sure if light_enviro...
by Grubbsy
Wed Oct 14, 2020 5:33 am
Forum: General Discussion
Topic: Unable to run ubuntu server with Source Python Ubuntu 16.04
Replies: 1
Views: 2309

Unable to run ubuntu server with Source Python Ubuntu 16.04

I'm running an ubuntu server sp command not found on start, no errors or anything but the files are where they should be. http://prntscr.com/uyx0y2 I've run a local server on my pc to test making plugins. (Windows) output of `ld -version` GNU ld (GNU Binutils for Ubuntu) 2.26.1 Copyright (C) 2015 Fr...
by Grubbsy
Sun Oct 04, 2020 3:01 pm
Forum: General Discussion
Topic: Could you get banned for this?
Replies: 2
Views: 3167

Could you get banned for this?

CSGO back in 2015ish had stated that they were going to begin banning servers that were falsifying player inventories https://blog.counter-strike.net/index.php/server_guidelines/ I was wondering if it's now possible to get banned for using a custom player model plugin as the recent Operation/if this...
by Grubbsy
Sun Aug 30, 2020 1:14 pm
Forum: Plugin Requests
Topic: 'NPC' that upon use will say it's unique name.
Replies: 3
Views: 2726

Re: 'NPC' that upon use will say it's unique name.

Thank you so much, it works perfectly! I love what you did with the random models and sequences.

I also thank you for the warm welcome, I've been lurking here using anything I can for help that's already here on the forums lol.
by Grubbsy
Sat Aug 29, 2020 10:41 pm
Forum: Plugin Requests
Topic: 'NPC' that upon use will say it's unique name.
Replies: 3
Views: 2726

'NPC' that upon use will say it's unique name.

I've been trying to get an NPC for CSGO trade servers done for some time, and I've always run into issues, - This is for CSGO, Essentially I was thinking it would utilize an extension of the entity's class to store its name - then using any model really but for this, I'd be using player models, also...

Go to advanced search