Trigger Renameplayer

trigger_renameplayer is a map function that changes the targetname of a player that activates this entity to the one that is set in this entity using "netname" " ". To change other attributes of entities, use a more general solution like trigger_changevalue."spawnflags" "1" allows this to be reused multiple times