Garry's Mod Wiki

DEFINE_BASECLASS

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

Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 48
Generate Html 3
SaveChanges (1) 7
Render Body 0
Render Sidebar 6