Gmod Gamemode - ply:SetModel() to one of player's choosing

When the player joins the server, I want their player model to be set to the one they get in sandbox (what they have set to cl_playermodel)

hook into playerinitialspawn, and set the model to the string retrieved by the convar?

the convar is set to say, male07, not models/player/male07.mdl, I can just concatenate the strings that’s no big deal, but how do you get the string from the convar?

Global.GetConVar

ConVar:GetString

thanks mate

oh, actually, GetConVar() is returning what the server has it set to not the individual client.

use netmessages to retrieve it from the client.

in case anyone else is looking into this, check this out

turns it from the simplified name into the path