User:Ccw: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
===onSettingChange ( name, oldValue, newValue )=== | ===onSettingChange ( name, oldValue, newValue )=== | ||
So the resource can take action if one of its settings get changed. Could even cancel the change I suppose. | So the resource can take action if one of its settings get changed. Could even cancel the change I suppose. | ||
== == | |||
===<syntaxhighlight lang="lua">Comments:</syntaxhighlight>=== | |||
''There are no comments. Be the first to comment on this article!'' |
Revision as of 04:19, 20 June 2009
Proposed Lua additions
Client and server function
setElementFrozen ( element, bool )
To work with vehicles, peds and dynamic objects like barrels and what not.
Server event
onSettingChange ( name, oldValue, newValue )
So the resource can take action if one of its settings get changed. Could even cancel the change I suppose.
Comments:
There are no comments. Be the first to comment on this article!