help to code or w.e pls?

umm i want to make an entity called Black suit. ( Entity that changes ur playermodel even if the darkrp job has it own.) i have the playermodel for it

http://www.garrysmod.org/downloads/?a=view&id=65897

do i need to use something like this or?


util.PrecacheModel( "models/Player/suits/male_07.mdl" )
function GM:PlayerSetModel( ply )
 
	ply:SetModel( "models/Player/suits/male_07.mdl" )
 
end

i have no idea how to code i know how to change values and how to fix them a really small amount but how can i make suit that changes ur playermodel and nothing else o.o

You shouldn’t override the function. Use a hook instead with a timer. Also, this is not a lua help thread.