• [Sandbox]Code to prevent player from changing their model?
    2 replies, posted
Does anyone have any idea of how i could prevent a player from changing their player model? The gamemode is sandbox.
Complete guess I have never dealt with Sandbox, worst case scenario consider it a bump. Maybe blocking "cl_playerskin" would do the trick. I am sure someone else could shed some light on that. Good luck!
[code]function GM:PlayerSetModel( ply ) ply:SetModel( "models/player/odessa.mdl" ) end[/code] Source: [URL="http://wiki.garrysmod.com/page/GM/PlayerSetModel"]http://wiki.garrysmod.com/page/GM/PlayerSetModel[/URL]
Sorry, you need to Log In to post a reply to this thread.