Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function putoutallfires(ply)
- if not ply:IsAdmin() then
- Notify(ply, 1, 5, "Only admins can do this!")
- else
- for k, v in pairs(ents.FindByClass('ent_fire')) do
- v:Remove()
- end
- end
- for k,v in pairs(ents.FindByClass('ent_fire')) do
- NotifyAll(1, 4, "All fires on the map have been extinguished to presurve gameplay.")
- end
- end
- return ""
- end
- AddChatCommand( "/putoutfires", putoutallfires )
Add Comment
Please, Sign In to add comment