Scripting/Server/Functions/GetScripts
(v0.4.6+) Returns an array with the names of the loaded script folders.
Syntax
GetScripts()Returns
array
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "getscripts" )
{
local result = GetScripts();
MessagePlayer( "GetScripts returned: " + result, player );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- SetServerName
- SetPassword
- SetServerRule
- RemoveBuildingForPlayer
- SyncPlayerSkins
- ReloadScripts
- LoadScript
- UnloadScript
- ToggleRagdollPhysics
- ToggleVehicleDents
- LoadModule
- GetTickCount
Section: Server information and administration
Categories: Server functions | Server information and administration