[ANY] Contracts
48 Attachment(s)
[ANY] Contracts https://puu.sh/rooCC/910797c17e.png A very simple plugin wich add a little bit of content for the players. They will be asked to do different tasks, such as killing other players, running around, dying and what ever you want, really. The plugin is fully configurable using the small keyvalue file. An exemple of a correctly configured file can be found in the INSTALLATION part of this post. Original idea : https://forums.alliedmods.net/showthread.php?t=288138 https://puu.sh/rooCG/944b44999e.png Here is the no-finished list of avaible features for now :
https://puu.sh/rooCK/066043be6c.png 0) You need sourcemod version >= 1.10 !! 1) Download the SMX file and also the config file (CFG) using the approriate link at the end of the post. 2) Put the smx file in the PLUGINS folder. 3) Put the CFG file in the CONFIGS folder. 4) Put the contract.translation.txt in the TRANSLATION folder ! 5) Edit the config file if needed (using your favorite text editor). PS : See the already existing content of the file. 6) Load the plugin by changing map, or restarting the server. NOTE : I added a new field for the contract KILL and DIE take a look : Code:
"3" Code:
"56" sm_contract - Display your current contract's info. sm_contractlevel - Display your contracts stats. sm_contracttop - Display the top 7 contract's player. sm_contracthud - Display/Hide HUD. Admin commands : sm_givecontract - give a contract to the specified user. Require the admin generic flab (b if I remember correctly.) sm_resetcontract - reset ALL the infos of everyone. Without confirmation. sm_contract_weapon_class - display weapon class of your current weapon https://puu.sh/rooAd/55c1dba974.png sm_contract_chance_get_contract "30" The % of luck to get a new contract every 5 minutes. sm_contract_teams "2;3" Team index wich can get contract. 2 = RED/T 3 = BLU/CT sm_database_configuration_name "storage-local" Configuration name in database.cfg, by default, all results are saved in the sqlite database. sm_contract_store_select "NONE" NONE=No store usage/ZEPHYRUS=use zephyrus store/SMSTORE=use sourcemod store./SMRPG=use smrpg experience system/MYJS=use MyJailShop sm_contract_minimum_players "2" How much player needed before receving an contract. sm_contract_interval "300" Time (in seconds) before giving a new contract if any. sm_contract_minimum_players_progress "2" How much player need to progress with a contract. https://puu.sh/rooCU/f0cc0f7c77.png Add a way to reset everything - DONE ! Add a team restrictions system - DONE ! Add store support - DONE ! Add player limitation before contract - DONE ! >> NEED HELP FOR TRANSLATIONS << Thank you krikus62 for the Latvian translations and fixing my broken english :3 ! Thank you pubhero for the Hungarian translations and fixing things :3 ! Thank you lucasp6 for Portuguese translations :3 ! Thank you KnoXviLLe for Turkish translations :3 ! https://puu.sh/rooCk/5e5ba6f955.png None found yet. https://puu.sh/rooCN/00e99ea989.png http://i68.tinypic.com/anh8gh.jpg (image stolen for the idea post, may differ from reality.) http://puu.sh/rNitX/6e8e51b58d.png GITHUB repository Other direct download link (right click -> save as...) Compilled plugin (smx) : https://raw.githubusercontent.com/Ar...s/Contract.smx Source code (sp) : https://raw.githubusercontent.com/Ar...ng/Contract.sp Configuration file (cfg) : https://raw.githubusercontent.com/Ar.../contracts.cfg Translation file (txt) : https://raw.githubusercontent.com/Ar...ct.phrases.txt Enjoy ! Logs :
Spoiler
|
Re: [ANY?] Contracts
Niiice, good job!! :up:
|
Re: [ANY?] Contracts
Quote:
|
Re: [ANY?] Contracts
Gracias and looking good,
Will try to upload it right now. :) ------------------- Tested it looks wonderfull..... Upload and play. Is there a reset option so every contract level will be whiped |
Re: [ANY?] Contracts
Quote:
EDIT: Done. |
Re: [ANY?] Contracts
Love it, thank you.
|
Re: [ANY?] Contracts
Request: Can you put in a option to : disable bots for displaying in the,. contracttop
|
Re: [ANY?] Contracts
I read the original idea, but where is the store support?
If you want to do it put both zephs and alongub stores pls |
Re: [ANY?] Contracts
I'm okay with the request above. But what's alongub's store ?
|
Re: [ANY?] Contracts
Nice plugin! Is it possible to disable this for a specific team? Would be cool to have a cvar to control it.
|
All times are GMT -4. The time now is 19:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.