Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function NPCSpawned(entity)
- {
- printl( entity +" just spawned!");
- }
- // The OnEntitySpawned hook needs to have this enabled first
- Entities.EnableEntityListening();
- Hooks.Add( 0, "OnEntitySpawned", NPCSpawned, "YourContext");
Advertisement
Add Comment
Please, Sign In to add comment