Remember the Score
20 Attachment(s)
Remember the Score by Nextra
( save frags save score save deaths remember the frags rememberthefrags rememberthescore rts ) .: Description This plugin will keep track of players scores through a mysql (or optionally sqlite) database..: Features - Automatic saving on disconnect + configurable prevention saving to minimize loss of data after a crash.: Cvars rts_host - DB Host.: Required Modules - CStrike.: Notes #1 - I know that there is a plugin that essentially does the same but as I said this was a request, done due to the other one not working for the requester. I just wanted to share this in the hope it will be useful for others. For clearance why there are no credits: This was entirely done from scratch - no code was taken from any (esp. not rememberthefrags) plugins in the creation process..: Changelog ( latest changes ) * 1.0.791.: Downloads: 502+ :. |
Re: Remember the Score
nice job :crab:
|
Re: Remember the Score
The plugin is well done. Not looking deeply though. You could cache the value of is_user_connected/is_userbot.
|
Re: Remember the Score
Quote:
Let me just tell you a minimal thing: Pawn is lazy so you can safely join conditions like: Instead of: PHP Code:
PHP Code:
|
Re: Remember the Score
Quote:
Quote:
Quote:
Quote:
|
Re: Remember the Score
FYI, if someone uses a source code editor with a tab space != 4 spaces it won't look so poetic (if you are refering to the spacing like in the register cvar section). But it does look nice when tab = 4spaces :).
|
Re: Remember the Score
But the tab size 4 is the standard I believe (I'm using N++)? This is at least what I am using so it looks best for my setting, obviously. The rest looks fine regardless of the size anyway.
|
Re: Remember the Score
In my plugins ( I'm using Np++ too ) I've activated the option to replace tab by 4 spaces. Using spaces, it should show well on all editor I think.
|
Re: Remember the Score
I'm using Notepad++ too. The default is to show tabs as 4 spaces in width. You can change that to whatever you want and opt to replace with actual spaces as Arkshine said.
If you haven't already, check out the link in my signature. I have CS syntax highlighting for Notepad++. |
Re: Remember the Score
Thanks, I already saw your thread and highlighting syntax for N++ but actually I prefer the way it is when you set C++ highlighting. I looked at your thing and I do not like every single function highlighted. For me it is enough to have highlighted braces and operators and stuff.
And for the tab thing, I know I can replace things by spaces but I do not like it while I am coding. I always have to backspace four instead of one character. If you know how to change all tabs at once I will do it before releasing my plugin, otherwise you will have to live with that minor issue ;) |
All times are GMT -4. The time now is 09:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.