📖 Wiki
Documentation and guides for Wiremod
📁Data Storage
5 articles
e2 docs table
Table = table(...) (1 ops) :clear() Clears the table (3 ops) = :count() Returns the number of entries in the table. Does not add the entries in subtables (1 ops) = :ncount() Returns the number of sequ
KemGus
e2 docs serialization
Serialization = vonEncode( Data) Encodes a table into a string using vON (10 ops) = vonEncode( Data) Encodes an array into a string using vON (10 ops) = vonDecode( Data) Decodes a string into an array
KemGus
e2 docs globalvars
Globalvars Gtable = gTable( Groupname) Returns the gTable. The string determines group (1 ops) Gtable = gTable( Groupname, Shared) Returns the gTable. The string determines group, and the number deter
KemGus
e2 docs files
Files = fileLoad( Filename) Loads specified file to the server (100 ops) = fileCanLoad() Returns 1 if the file can be loaded (3 ops) = fileLoadQueued() Returns the number of files in the load queue (3
KemGus
e2 docs array
Array = array(...) Creates an array (1 ops) = :vector2( ) Returns the vector2 stored in the array under specified index. Deprecated, use R[N,vector2] instead (5 ops) = :vector( ) Returns the vector st
KemGus