User:Ccw: Difference between revisions
Jump to navigation
Jump to search
(Proposed solution to issue 4377 updated) |
No edit summary |
||
Line 3: | Line 3: | ||
=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. | |||
Revision as of 21:55, 19 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.