Click or drag to resize

PickupCreateStatic Method

Creates a static Pickup in the game.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static bool CreateStatic(
	int model,
	int type,
	Vector3 position,
	int virtualWorld = -1
)

Parameters

model
Type: SystemInt32
The model of the pickup.
type
Type: SystemInt32
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: Boolean
True if the pickup has been created, otherwise False.
See Also