TTT help pointshop

Hello, Im hosting a ttt server with a pointshop. Basically I have ulx sforcenr Haki traitor command for example but I need to make it buyable in pointshop. For example ppl buy it and they become traitor. This commands are perfectly fine so we can use this. detective command is ulx sforcenr Haki detective. Thanks


-- Detective
ITEM.Name = "Buy Detective"
ITEM.Price = 100
ITEM.Material = "ttt/detective.vmt"
ITEM.NoPreview = true
ITEM.SingleUse = true

function ITEM:OnBuy(ply)
	RunConsoleCommand("ulx", "sforcenr", ply:Nick(), "detective")
end


-- Traitor
ITEM.Name = "Buy Traitor"
ITEM.Price = 200
ITEM.Material = "ttt/traitor.vmt"
ITEM.NoPreview = true
ITEM.SingleUse = true

function ITEM:OnBuy(ply)
	RunConsoleCommand("ulx", "sforcenr", ply:Nick(), "traitor")
end

According to the information you provided and the Pointshop wiki. This should do the trick.