From Garry's Mod
Called when a player has successfully spawned a prop from the Q menu.
The player who spawned a prop.
Path to the model of the prop the player is attempting to spawn.
The entity that was spawned.
Turns the spawned prop green.
function GM:PlayerSpawnedProp(ply, model, ent) ent:SetColor(Color(0, 255, 0)) end