Raised This Month: $ Target: $400
 0% 

MyJailShop info about credits


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
folubek
Member
Join Date: Jan 2018
Old 01-26-2018 , 21:13   MyJailShop info about credits
Reply With Quote #1

Hi,
i want to add info about credits in my jailshop (https://forums.alliedmods.net/showthread.php?t=288712) on main csgo screen
maybe "menu" - "Credits: X" under game dollars $
folubek is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 01-27-2018 , 12:37   Re: MyJailShop info about credits
Reply With Quote #2

You can post such requests in the main MyJailShop/break threads.

You description is very vague. I hope this is the "info about credits on main csgo screen" what you mean.
If not please describe your idea with more details, maybe make an image.

This plugin adds following ConVars to cfg/MyJailshop/Settings.cfg
Code:
// 0 - disabled, 1 - enable this MyJailShop Module
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_jailshop_hud_enable "1"

// 0 - show hud only to alive player, 1 - show hud to dead & alive player
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_jailshop_hud_alive "1"

// x coordinate, from 0 to 1. -1.0 is the center
// -
// Default: "0.05"
// Minimum: "-1.000000"
// Maximum: "1.000000"
sm_jailshop_hud_x "0.05"

// y coordinate, from 0 to 1. -1.0 is the center
// -
// Default: "0.65"
// Minimum: "-1.000000"
// Maximum: "1.000000"
sm_jailshop_hud_y "0.65"

// Color of sm_hud_type '1' (set R, G and B values to 255 to disable) (Rgb): x - red value
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_jailshop_hud_red "200"

// Color of sm_hud_type '1' (set R, G and B values to 255 to disable) (rGb): x - green value
// -
// Default: "200"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_jailshop_hud_green "0"

// Color of sm_hud_type '1' (set R, G and B values to 255 to disable) (rgB): x - blue value
// -
// Default: "200"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_jailshop_hud_blue "200"

// Alpha value of sm_hud_type '1' (set value to 255 to disable for transparency)
// -
// Default: "200"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_jailshop_hud_alpha "200"
Please give feedback if it works as intended, so I can put it to the main MyJailShop repo
Attached Files
File Type: smx myjailshop_hud.smx (10.1 KB, 79 views)
File Type: sp Get Plugin or Get Source (myjailshop_hud.sp - 87 views - 4.0 KB)
__________________
coding & free software

Last edited by shanapu; 01-27-2018 at 12:39.
shanapu is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:49.


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