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

Page Links


Special Pages


Wikis

?

Render Time: 34ms

DB GetPage 6
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 12