This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Clan = { | |
Button = {}, | |
Window = {}, | |
Gridlist = {}, | |
Edit = {} | |
} | |
Clan.Window[1] = guiCreateWindow(306, 174, 320, 346, "Clan panel", false) | |
guiWindowSetSizable(Clan.Window[1], false) | |
Clan.Window[2] = guiCreateWindow(401, 281, 252, 99, "Set Player Rank", false) | |
guiWindowSetSizable(Clan.Window[2], false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function RGBToHex(red, green, blue, alpha) | |
if((red < 0 or red > 255 or green < 0 or green > 255 or blue < 0 or blue > 255) or (alpha and (alpha < 0 or alpha > 255))) then | |
return nil | |
end | |
if(alpha) then | |
return string.format("#%.2X%.2X%.2X%.2X", red,green,blue,alpha) | |
else | |
return string.format("#%.2X%.2X%.2X", red,green,blue) | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<meta> | |
<info description="Allows players to create groups and invite players to it" name="Group System" type="script" version="1.0" author="Blue"/> | |
<script type="client" cache="false" src="clan_c.lua"/> | |
<script type="server" src="clan_s.lua"/> |