Model Help

Hello There

i am setting up a sever and i am running Darkrp and i added a class but the model is not working it comes up as an error but yet its the sam as the gun dealer model sooo here is the code if someone could help that would be great

TEAM_HEAVYGUNDEALER = AddExtraTeam(“HeavygunDealer”,Color(255,140,0,255), " models/player/monk.mdl", [[Sell Very Expensive And Deadly Weapons]],
{“No Extra Weapons”}, “HeavyGunDealer”, 3, 90, 0, true)

if ply:Team() == TEAM_HEAVYGUNDEALER then
ply:SetModel(“models/player/monk.mdl”)

also i have a small problem evrey class can buy pistols and i also need to make it so that the heavy gun dealer can buy shipments

it would be great if someone could help out

It could be that there is a space in it. " models/player/monk.mdl". Should be “models/player/monk.mdl”. Try that.

Why do you use: [lua]if ply:Team() == TEAM_HEAVYGUNDEALER then
ply:SetModel(“models/player/monk.mdl”)[/lua]
When you only need to set it right in the job?

Use rp_restrictbuypistol 0 to disable people other than the gundealer buying pistols.