Method CreatePropNoOffset
CreatePropNoOffset(Model, Vector3, Boolean)
Declaration
public static Prop CreatePropNoOffset(Model model, Vector3 position, bool dynamic)
Parameters
| Type | Name | Description |
|---|---|---|
| Model | model | |
| Vector3 | position | The position to spawn the Prop at. |
| System.Boolean | dynamic | if set to |
Returns
| Type | Description |
|---|---|
| Prop |
Remarks
returns null if the Prop could not be spawned
CreatePropNoOffset(Model, Vector3, Vector3, Boolean)
Declaration
public static Prop CreatePropNoOffset(Model model, Vector3 position, Vector3 rotation, bool dynamic)
Parameters
| Type | Name | Description |
|---|---|---|
| Model | model | |
| Vector3 | position | The position to spawn the Prop at. |
| Vector3 | rotation | The rotation of the Prop. |
| System.Boolean | dynamic | if set to |
Returns
| Type | Description |
|---|---|
| Prop |
Remarks
returns null if the Prop could not be spawned