Addon Entry

Now supporting the newest garrysmods.org

New : UserScript to add a search button to any garrysmod.org download page Script Page Install It!

Mirrors

There are no mirrors, request one in the comment section below.
File: E2 - Custom Table Script
Version: 0
Garrysmod.org URL: http://www.garrysmod.org/downloads/?a=view&id=87336
Description: This adds 4 commands to the Expression 2 chip

It allows the user to read certain keys and values from the entity provided.

functions:

e:getKeys() - puts all available keys into an array
e:hasKey(s) - is "s" a valid key?
e:getNValue(s) - Number value of the key "s"
e:getSValue(s) - String value of the key "s"

small example included.

##reuqires Wiremod.. obviously
EXTRACT to ADDONS

Was made for RP.. but you can use it for anything else.

I was thinking of editing the RP Money Detector so that you can choose the speed at which it updates but then I decided to mess around with making e2 functions.. so wallah.


http://www.wiremod.com/forum/wiremod-addons/17013-e2-read-entity-tables.html#post164364

Image: E2