6,833
edits
No edit summary |
No edit summary |
||
Line 61: | Line 61: | ||
* <code>Surface</code> - Anything that is drawable (<code>RenderTarget</code>, <code>Texture</code>) | * <code>Surface</code> - Anything that is drawable (<code>RenderTarget</code>, <code>Texture</code>) | ||
==Scripting-Language Types== | |||
These scripting-language types are used in the scripting interface. | |||
Scalar types. | |||
* <code>bool</code> - Also known as <code>boolean</code>. | |||
* <code>float</code> - <code>Number</code> if the scripting language only uses 1 numerical type for ints and floats. | |||
* <code>function</code> - For callbacks. | |||
* <code>int</code> - <code>Number</code> if the scripting language only uses 1 numerical type for ints and floats. | |||
* <code>object</code> - For elements. <code>Userdata</code> if Lua. | |||
* <code>null</code> - Also known as <code>nil</code>. | |||
* <code>string</code> | |||
Container types. | |||
* <code>array<Type></code> - <code>Table</code> if Lua. Keys start at 1 if Lua, otherwise keys start at 0. | |||
* <code>dictionary<KeyType,ValueType></code> - <code>Table</code> if Lua. | |||
==Previous Versions== | ==Previous Versions== | ||
Type <code>Civilian</code> was removed. All functionality from type <code>Civilian</code>was moved to type <code>Ped</code>. | Type <code>Civilian</code> was removed. All functionality from type <code>Civilian</code>was moved to type <code>Ped</code>. |
edits