Configstring: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 28: | Line 28: | ||
== Notes == | == Notes == | ||
et.CS_PLAYERS = 689 for those of you that don't use etconst.lua | et.CS_PLAYERS = 689 for those of you that don't use etconst.lua | ||
Source: http://bani.anime.net/banimod/forums/viewtopic.php?t=5412 | Source: http://bani.anime.net/banimod/forums/viewtopic.php?t=5412 | ||
[[Category:ETPro]] | [[Category:ETPro]] | ||
[[Category:Lua]] | [[Category:Lua]] | ||
[[Category:ETPro:Mods]] | [[Category:ETPro:Mods]] | ||
Revision as of 19:53, 28 August 2006
Configstrings can be accessed with et.trap_GetConfigstring and et.trap_SetConfigstring and the String utility functions
User Configstring
A user Configstring gets written in the log file with a line starting with UserInfoChanged which mustn't be mistaken for one with Userinfo.
To access a user's Configstring you can't just use et.trap_GetConfigstring(slotNumber) but must use et.trap_GetConfigstring(et.CS_PLAYERS + slotNumber)
|
Notes
et.CS_PLAYERS = 689 for those of you that don't use etconst.lua
Source: http://bani.anime.net/banimod/forums/viewtopic.php?t=5412