/// <summary> /// Creates a static <see cref="Pickup" /> in the game. /// </summary> /// <param name="model">The model of the pickup.</param> /// <param name="type">The pickup spawn type.</param> /// <param name="position">The position where the pickup should be spawned.</param> /// <param name="virtualWorld">The virtual world ID of the pickup. Use -1 for all worlds.</param> /// <returns>True if the pickup has been created, otherwise False.</returns> public static bool CreateStatic(int model, int type, Vector3 position, int virtualWorld = -1) { return(Internal.AddStaticPickup(model, type, position.X, position.Y, position.Z, virtualWorld) == 1); }