AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] eSprays (v1.2) (https://forums.alliedmods.net/showthread.php?t=335330)

Nocky 11-25-2021 12:05

[CS:GO] eSprays (v1.2)
 
Description
- With this plugin players can use default sprays in CS:GO

• Commands: /sprays, /spray, /graffiti
• Bind on use spray bind KEY +spray

Requirements
- eItems (latest)

Installation
1. Download files
2. Upload eSprays.smx, esprays.phrases.txt and all material files to your server
3. Set "DownloadSprays": true in /sourcemod/configs/eItems.json
4. Restart server or change map
5. Configure cvars generated in the new file at cfg/sourcemod/esprays.cfg


Video preview



Changelog
Code:

1.2 (1-Dec-21)
    - Added protection against server crashes when the player did not have a set spray and use bind
    - Added random sprays for players in settings
    - Added and fixed translations

1.1 (29-Nov-21)
    - Added russian translation
    - Added convar for max sprays in one round - sm_esprays_maxsprays

Download
Main repository
Direct download

edgar009955 11-28-2021 05:41

Re: [CS:GO] eSprays
 
1 Attachment(s)
Added Russian language

Nocky 11-29-2021 11:11

Re: [CS:GO] eSprays
 
Update version 1.1

Code:

Added russian translation
Added convar for max sprays in one round - sm_esprays_maxsprays


SmokieCS 11-30-2021 02:04

Re: [CS:GO] eSprays
 
Added Danish translation in the branch and fixed the max sprays translation both in Danish and English.

paulo_crash 11-30-2021 06:21

Re: [CS:GO] eSprays
 
@Nocky great plugin. :bacon!::bacon!::bacon!:

Could you just ask me a question? Would it be possible to somehow make the plugin use CSGO's own spray command?

Example, CSGO has its own option to use sprays, the player in this case selects when he wants to use the key. Would it be possible to make that whenever the player uses this key, it doesn't matter which one he configured it to use the plugin spray, even if it's random spray if he didn't choose any in the plugin menu?

8guawong 12-01-2021 06:49

Re: [CS:GO] eSprays
 
is there no way to use the plugin without user needing to download the sprays?

Nocky 12-01-2021 14:30

Re: [CS:GO] eSprays
 
Quote:

Originally Posted by paulo_crash (Post 2764695)
@Nocky great plugin. :bacon!::bacon!::bacon!:

Could you just ask me a question? Would it be possible to somehow make the plugin use CSGO's own spray command?

Example, CSGO has its own option to use sprays, the player in this case selects when he wants to use the key. Would it be possible to make that whenever the player uses this key, it doesn't matter which one he configured it to use the plugin spray, even if it's random spray if he didn't choose any in the plugin menu?

I don't really understand the question :D

Quote:

Originally Posted by 8guawong (Post 2764758)
is there no way to use the plugin without user needing to download the sprays?

Im afraid not

Nocky 12-01-2021 14:49

Re: [CS:GO] eSprays
 
Update version 1.2

Code:

Added protection against server crashes when the player did not have a set spray and use bind
Added random sprays for players in settings
Added and fixed translations


paulo_crash 12-01-2021 15:22

Re: [CS:GO] eSprays
 
Quote:

Originally Posted by Nocky (Post 2764781)
I don't really understand the question :D

Come on, I'll try to be more clear.

CSGO has its own spray command:
https://image.prntscr.com/image/H4JO...p_8PKuBIFw.png

This command opens the CSGO graffiti menu and you can use the graffiti you bought in the steam market.
https://i2.wp.com/playerassist.com/w.../image-204.png

https://image.prntscr.com/image/pfnU...riFvvT9Mww.png

Until then ok, all right.

Now the question would be, is it possible to implement in your plugin the option that when the player uses CSGO commands to open the graffiti menu it automatically uses a plugin spray.

If the player has not chosen any spray it would open the spray menu for him.

Nocky 12-01-2021 15:36

Re: [CS:GO] eSprays
 
Quote:

Originally Posted by paulo_crash (Post 2764790)

It's not possible +spray_menu can't be hooked/detected


All times are GMT -4. The time now is 04:24.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.