#Plug in name for coin D boy
1 messages · Page 1 of 1 (latest)
public override void OnPlayerChangedRole(PlayerChangedRoleEventArgs ev)
{
if (ev is { ChangeReason: RoleChangeReason.RoundStart, NewRole.RoleTypeId: RoleTypeId.ClassD })
ev.Player.AddItem(ItemType.Coin);
}
Thanks , where should i insert this ?
Thanks man no im not a dev I started my own server and some members wanted this so tryna make em happy
Yeah all good
Just throw this in your plugins folder and it should work
Thanks G ❤️