so my header, for the example above "catch.sp", would looks like that:
PHP Code:
/*
This file is part of MyJailbreak.
MyJailbreak is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
MyJailbreak is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with MyJailbreak. If not, see <http://www.gnu.org/licenses/>.
Copyright (C) 2016 Thomas Schmidt - MyJailbreak
Copyright (C) 2009-2013 Martin Walter - ShortSprint
Floody.de - Original Krieg plugin
Franc1sco Franug - Franug-JailBreak
ReFlexPoison - Screen Overlays
.#Zipcore - Warden: Sounds
*/
Is this the right way? Cause some of the authors haven't got headers with copyright informations.
And what about "standart" stocks like:
PHP Code:
stock bool IsValidClient(int client, bool bAllowBots = false, bool bAllowDead = true)
{
if(!(1 <= client <= MaxClients) || !IsClientInGame(client) || (IsFakeClient(client) && !bAllowBots) || IsClientSourceTV(client) || IsClientReplay(client) || (!bAllowDead && !IsPlayerAlive(client)))
{
return false;
}
return true;
}
does i have to add the author of these snippets too?
__________________