Garry's Mod Wiki

DEFINE_BASECLASS

  DEFINE_BASECLASS( string value )

Description

This is not a function. This is a preprocessor keyword that translates to:

local BaseClass = baseclass.Get( "my_weapon" )

If you type DEFINE_BASECLASS( "my_weapon" ) in your script.

See baseclass.Get for more information.

Arguments

1 string value
Baseclass name