How would you make it so only the client that uses a entity sees a different player model for a certain amount of time? Like if use a entity how would i make it so i only see Mossman for a certain amount of time?
English version please.
function ChangeModel( ent, model, time )
if ValidEntity( ent ) and model and time then
local oldmodel = ent:GetModel()
ent:SetModel( model )
timer.Simple( time, function()
if ValidEntity( ent ) then
ent:SetModel( oldmodel )
for k, v in pairs( player.GetAll() ) do
ChangeModel( v, “models/cranes/crane_frame.mdl”, 20 ) – Changes all players into a crane for 20 seconds, before changing them back into their original models