PickupCreate Method (Int32, PickupType, Vector3, Int32) |
Namespace:
SampSharp.GameMode.World
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public static Pickup Create(
int model,
PickupType type,
Vector3 position,
int virtualWorld = -1
)
Parameters
- model
- Type: SystemInt32
The model of the pickup. - type
- Type: SampSharp.GameMode.DefinitionsPickupType
The pickup spawn type. - position
- Type: SampSharp.GameModeVector3
The position where the pickup should be spawned. - virtualWorld (Optional)
- Type: SystemInt32
The virtual world ID of the pickup. Use -1 for all worlds.
Return Value
Type:
PickupThe created pickup or null if it cannot be created.
See Also