Frag Thief
1 Attachment(s)
Frag Thief v1.0 Plugin Info: - Plugin is coded in 2013.I have this plugin on my server, and he is work great.Plugin is Fun Category, player can steal frags of another player and give frags them.I accept all suggestions, and I will add your suggestions in next version.Every 120 seconds, plugin prints plugin info in chat.When player type /thief , player receives message with plugin info in console. Plugin Commands: amx_stolefrag <nick> - Player steal selected player frags(specified cvar), for money(specified cvar).Selected player loses frags. amx_givefrag <nick> <frags> - Player gives his selected frags to selected player. Plugin Cvars: amx_stolemoney default: "8000" - Stole thieving. amx_frags default: "7" - Number of stolen frags(command 'amx_stolefrag'). All suggestions are welcome. |
Re: Frag Thief
1. Indent your code.
2. You are using returns in a very silly way. You clearly don't understand when and for what to use them. Also, you don't know how if - else/ else if will act. |
Re: Frag Thief
Hmm, i coded this in 2013, i dont looking for indent...I will edit now.
|
Re: Frag Thief
So, you are telling you even didn't bother to review your plugin and you release something for the sake of releasing without caring about rules, caring about quality code?
|
Re: Frag Thief
@Arkshine Edited, right now.
|
Re: Frag Thief
Readability still being bad. My english is bad, indeed. But your english is even more unreadable than your code :grrr:
And please explain me this: PHP Code:
|
Re: Frag Thief
Hahahahaha mistake :D Edited.
|
Re: Frag Thief
Quote:
Back on topic. I don't think it's fair for anyone to be able to use there money to steal others frags as someone could just not buy guns then use that money to steal frags. |
Re: Frag Thief
I agreed with Blizzard_87.
If the player is a smart player and have a lot of money, then it is better to steal other frags then buy a gun. ;) By the way, does this thief plugin will affect the XP or Level system that use frag to count the points? |
Re: Frag Thief
Quote:
About steal frags instead of buy guns, a dumb player would do it, not a smart one. Why? Cuz it changes the score only, people care about ranking. |
| All times are GMT -4. The time now is 20:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.