Hello Guys i am so new to Rust-Oxide Development
i will just show my code
and i get a error about Vector3 (it is something like there is not Vector3 thing u need to create one)
but in a youtube video i saw he had no problems
can u plz help me ?
i will just show my code
using Oxide.Core.Libraries.Covalence;
using UnityEngine;
namespace Oxide.Plugins
{
[Info("MinicopterSpawner","NotScammer","1.0")]
public class MinicopterSpawner : RustPlugin
{
private const string minicopterPrefab = "assets/content/vehicles/minicopter/minicopter.entity.prefab";
[Command("spawnminicopter")]
private void SpawnMinicopter(IPlayer player,string cmd, string[] args)
{
var spawnPosition = new Vector3(player.Position().X, player.Position().Y + 1.5F, player.Position().Z);
}
}
}
and i get a error about Vector3 (it is something like there is not Vector3 thing u need to create one)
but in a youtube video i saw he had no problems
can u plz help me ?