How To Make Addons In Gmod

Permalink

Download novel indonesia. Gmod server addons doesn't download for friends. Gmod server addons doesn't download for friends. When i start a server from start New game - 4 players - Start game and i let my friends join the server they are downloading addons, but some of them still show up as errors. Save hide report.

Join GitHub today

Chalte chalte mp3 rani. GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.

HowSign up
Branch:master
Find file Copy path
robotboy655Update to latest versiona121a70Aug 27, 2014
2 contributors
#ifndef ADDONWHITELIST_H
#defineADDONWHITELIST_H
#include'Bootil/Bootil.h'
//
//
//
//
namespaceAddon
{
namespaceWhiteList
{
staticconstchar* Wildcard[] =
{
'lua/*.lua',
'scenes/*.vcd',
'particles/*.pcf',
'resource/fonts/*.ttf',
'scripts/vehicles/*.txt',
'resource/localization/*/*.properties',
'maps/*.bsp',
'maps/*.nav',
'maps/*.ain',
'maps/thumb/*.png',
'sound/*.wav',
'sound/*.mp3',
'sound/*.ogg',
'materials/*.vmt',
'materials/*.vtf',
'materials/*.png',
'materials/*.jpg',
'materials/*.jpeg',
'models/*.mdl',
'models/*.vtx',
'models/*.phy',
'models/*.ani',
'models/*.vvd',
'gamemodes/*/*.txt',
'gamemodes/*/*.fgd',
'gamemodes/*/logo.png',
'gamemodes/*/icon24.png',
'gamemodes/*/gamemode/*.lua',
'gamemodes/*/entities/effects/*.lua',
'gamemodes/*/entities/weapons/*.lua',
'gamemodes/*/entities/entities/*.lua',
'gamemodes/*/backgrounds/*.png',
'gamemodes/*/backgrounds/*.jpg',
'gamemodes/*/backgrounds/*.jpeg',
'gamemodes/*/content/models/*.mdl',
'gamemodes/*/content/models/*.vtx',
'gamemodes/*/content/models/*.phy',
'gamemodes/*/content/models/*.ani',
'gamemodes/*/content/models/*.vvd',
'gamemodes/*/content/materials/*.vmt',
'gamemodes/*/content/materials/*.vtf',
'gamemodes/*/content/materials/*.png',
'gamemodes/*/content/materials/*.jpg',
'gamemodes/*/content/materials/*.jpeg',
'gamemodes/*/content/scenes/*.vcd',
'gamemodes/*/content/particles/*.pcf',
'gamemodes/*/content/resource/fonts/*.ttf',
'gamemodes/*/content/scripts/vehicles/*.txt',
'gamemodes/*/content/resource/localization/*/*.properties',
'gamemodes/*/content/maps/*.bsp',
'gamemodes/*/content/maps/*.nav',
'gamemodes/*/content/maps/*.ain',
'gamemodes/*/content/maps/thumb/*.png',
'gamemodes/*/content/sound/*.wav',
'gamemodes/*/content/sound/*.mp3',
'gamemodes/*/content/sound/*.ogg',
NULL
};
//
// Call on a filename including relative path to determine
// whether file is allowed to be in the addon.
//
inlineboolCheck( const Bootil::BString& strname )
{
bool bValid = false;
for ( int i = 0;; i++ )
{
if ( bValid WhiteList::Wildcard[i] NULL ) break;
bValid = Bootil::String::Test::Wildcard( Wildcard[i], strname );
}
return bValid;
}
}
}
#endif
  • Copy lines
  • Copy permalink