Garry's Mod Wiki


void Entity:Activate()


Activates the entity. This needs to be used on some entities (like constraints) after being spawned.

For some entity types when this function is used after Entity:SetModelScale, the physics object will be recreated with the new scale. Source-sdk-2013
This crashes the game with scaled vehicles.


Spawns a 'sent_ball' on the player.

function ENT:SpawnMe(ply) local SpawningPos = ply:GetPos() local ent = ents.Create("sent_ball") ent:SetPos( SpawningPos ) ent:Spawn() ent:Activate() end

Page Links

Special Pages



Render Time: 32ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 11
Render Body 0
Render Sidebar 12