Play a sound when an admin is connecting to the server?

Is there a way to play a sound to the connection of an admin to the server?

Yes, make a function hooked onto playerinitialspawn, do an admin check then play a sound on every player. Sorry for no example

thx, i will try

[editline]11:22PM[/editline]

[lua]/---------------------------------------------------------
Called once on the player’s first spawn
---------------------------------------------------------
/
function GM:PlayerInitialSpawn( ply )

self.BaseClass:PlayerInitialSpawn( ply )

PlayerDataUpdate( ply )

if ply:IsAdmin() then 

end[/lua]