Intenta con esto
client side
function quitar ( )
setTimer (
function ( )
for _, hud in ipairs ( { "armour", "health", "money", "clock", "weapon", "ammo", "money", "wanted" } ) do
showPlayerHudComponent ( hud, false )
end
end
,1000, 1
)
end
addEventHandler ( "onClientPlayerSpawn", localPlayer, quitar )