Raised This Month: $51 Target: $400
 12% 

[TF2] Power shop


Post New Thread Reply   
 
Thread Tools Display Modes
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 06-09-2015 , 12:46   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #41

Quote:
Originally Posted by secondtimesold View Post
What does?
Happy DODs player's request.
Quote:
Originally Posted by Happy DODs player View Post
Will ad the extra shop stuff, secondhand.

And a debet in credit will be a cool addon for this plugin.....
__________________
Want to check my plugins ?
Arkarr is offline
rakion99
Junior Member
Join Date: Feb 2015
Location: ERROR 451 Unavailable Fo
Old 06-09-2015 , 13:55   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #42

this should be a security issue or something else because anyone can use these 2 commands and give 100 credits or 4324325 to himself, you need to remove it or just use RegAdminCmd
example:
Code:
RegAdminCmd("sm_c", fewfgweg, ADMFLAG_KICK);

Code:
RegConsoleCmd("sm_setc", CMD_DisplayCreditsfewf
RegConsoleCmd("sm_c", fewfgweg

public Action fewfgweg(client,args)
{
	credits[client] = 4324325;
}

public Action CMD_DisplayCreditsfewf(client, args)
{
	credits[client] += 100;	
}
rakion99 is offline
secondtimesold
Senior Member
Join Date: Feb 2015
Old 06-09-2015 , 14:11   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #43

yea sm_c gives 4.25 mil
__________________
secondtimesold is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 06-09-2015 , 14:32   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #44

When you forgot to comment your test commands... FIXED!
__________________
Want to check my plugins ?

Last edited by Arkarr; 06-11-2015 at 12:13.
Arkarr is offline
secondtimesold
Senior Member
Join Date: Feb 2015
Old 06-09-2015 , 14:33   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #45

where is the updated smx?
__________________
secondtimesold is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 06-11-2015 , 04:08   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #46

Anybody got a few more options yet for in the shop ?
Happy DODs player is offline
secondtimesold
Senior Member
Join Date: Feb 2015
Old 06-11-2015 , 07:07   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #47

Im not sure if you said you added the credit loss when killed but if you did it's not working. Just so you know..

The sm_c 2 million credit thing is fixed tho


here is another config set

Quote:



"24"
{
"menuItemName" "Disguise on Backstab (100)"
"attributName" "disguise on backstab"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "1.0"
"descriptionLine1" "Eternal Reward Bonus on Any Knife"
"descriptionLine2" "You can only buy this once"
"cost" "100"
"upgradetype" "2"
}

"25"
{
"menuItemName" "Jarate Backstabber (125)"
"attributName" "jarate backstabber"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "1.0"
"descriptionLine1" "If you get backstabbed you will jarate the spy"
"descriptionLine2" "You can only buy this once"
"cost" "125"
"upgradetype" "1"
}

"26"

{


"menuItemName" "10% Faster Build Speed (100)"
"attributName" "build rate bonus"
"defaultValue" "1.0"
"increaseValue" "-0.1"
"maxValue" "-0.5"
"descriptionLine1" "Build Time Decreased"
"descriptionLine2" "Yee Haw"
"cost" "100"
"upgradetype" "2"
}
__________________

Last edited by secondtimesold; 06-11-2015 at 08:07.
secondtimesold is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 06-11-2015 , 12:18   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #48

Quote:
Originally Posted by secondtimesold View Post
Im not sure if you said you added the credit loss when killed but if you did it's not working. Just so you know.. [...]
Thanks, totally forgot. It's now added.
__________________
Want to check my plugins ?
Arkarr is offline
secondtimesold
Senior Member
Join Date: Feb 2015
Old 06-11-2015 , 12:35   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #49

Thanks.

Is there also a cvar to adjust the credit loss amount or na?
__________________
secondtimesold is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 06-11-2015 , 13:15   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #50

Quote:
Originally Posted by secondtimesold View Post
Thanks.

Is there also a cvar to adjust the credit loss amount or na?
Yep, there is, just forgot to write it, sm_tf2sps_death_deduction
__________________
Want to check my plugins ?
Arkarr 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 21:09.


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