Object::Object: Difference between revisions
m (Cat) |
No edit summary |
||
| Line 4: | Line 4: | ||
*'''[https://cdn.rage.mp/public/odb/index.html Objects gallery]''' | *'''[https://cdn.rage.mp/public/odb/index.html Objects gallery]''' | ||
== | |||
{{JSContainer| | |||
==Required Arguments== | |||
*'''model''': {{RageType|Hash}} (use [[Globals::joaat|mp.joaat]]) | *'''model''': {{RageType|Hash}} (use [[Globals::joaat|mp.joaat]]) | ||
*'''position''': {{RageType|Vector3}} | *'''position''': {{RageType|Vector3}} | ||
| Line 12: | Line 14: | ||
==Syntax== | ==Syntax== | ||
{{SharedCode| | |||
< | <pre> | ||
mp.objects.new(model, position, | mp.objects.new(model, position, | ||
{ | { | ||
| Line 20: | Line 22: | ||
dimension: dimension | dimension: dimension | ||
}); | }); | ||
</ | </pre> | ||
}} | |||
=Example= | =Example= | ||
< | <pre> | ||
// TODO | // TODO | ||
</ | </pre> | ||
}} | |||
[[Category:Object API]] | [[Category:Object API]] | ||
[[Category:Shared Function]] | [[Category:Shared Function]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||