Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function SpawnZombie(player, command, args)
- if(player:IsAdmin() or player:IsSuperAdmin()) then
- local tr = player:GetEyeTrace()
- local ent = ents.Create("npc_zombie")
- ent:SetPos(tr.HitPos)
- ent:Spawn()
- end
- end
- concommand.Add("hype_spawnzombie", SpawnZombie)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement