View Single Post
Author Message
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-26-2011 , 11:30   [CS:S] Jail Awards with credits system
Reply With Quote #1

Curent Version: 1.2 now credits can be saved

Description:

You can buy awards in jail with a credits system. Kill players for win credits.


Requirements:
SDK Hooks


Cvars:
Put in server.cfg
Code:
awards_credits_max 100 // max of credits allowed (0: No limit)
awards_credits_kill 1 // credits for kill
ammo_interval 5 // How often to reset ammo for the price "Infinite ammo" (in seconds).
awards_credits_save 1 // enable or disable that credits can be saved

Commands:

sm_awards - open the awards menu
sm_credits - view your current credits
sm_revive - you can revive with credits
sm_medic - you can heal with credits
sm_setcredits <#userid|name> [amount] - admin command (ROOT) for set credits in players


Awards list:

Be invisible - 10 Credits
Buy AWP - 9 Credits
Becoming a barrel - 8 Credits
INMORTAL 20 seconds - 7 Credits
Infinite ammo - 6 Credits
More speed - 5 Credits
Becoming BIRD - 5 Credits
Have 200 HP - 4 Credits
Buy USP pistol - 2 Credits
Buy Flashbang - 1 Credits
Healing - 1 Credits
Buy knife - 1 Credits


Credits:

Infinite ammo by http://forums.alliedmods.net/showthread.php?t=107900
Based in my ES plugin "Sistema de Creditos": http://addons.eventscripts.com/addon...ma_de_creditos


Note: this is a reduced version of the plugin of my jail server (the full version is private), the server with my private version IP 93.93.65.101:27025


Donations (optional):

If you apreciate my work, you can donate me via paypal or with a trade offer


Download:

Main repository
Direct download
Code changes
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 12-20-2015 at 08:37. Reason: removed turnkey advert.
Franc1sco is offline
Send a message via MSN to Franc1sco