Garry's Mod Wiki

ENTITY:AddOutputFromKeyValue

ENTITY:AddOutputFromKeyValue

  boolean ENTITY:AddOutputFromKeyValue( string key, string value )

Just Added

This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.

Description

A helper function for creating Scripted Entities.

Call it from ENTITY:KeyValue and it'll return true if it successfully added an output from the passed KV pair.

Arguments

1 string key
The key-value key.
2 string value
The key-value value.

Returns

1 boolean
Whether any outputs were added or not.

Special Pages


Wikis

?

Render Time: 25ms

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