diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-30 21:01:18 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-30 21:01:18 -0400 |
| commit | d62058fcdea5fc6736a2a373f47dc6c14c70c319 (patch) | |
| tree | 79a1325190e3f1f1b6d6a2dbcdfc1ba3fa866ac9 /gamemode/events/supply_crate.lua | |
| parent | c38f00182ba6c282806eecb39a42e64d5feafa37 (diff) | |
| download | redead-d62058fcdea5fc6736a2a373f47dc6c14c70c319.tar.gz redead-d62058fcdea5fc6736a2a373f47dc6c14c70c319.tar.bz2 redead-d62058fcdea5fc6736a2a373f47dc6c14c70c319.zip | |
Removed exessive whitespace so future commits will be cleaner
Diffstat (limited to 'gamemode/events/supply_crate.lua')
| -rw-r--r-- | gamemode/events/supply_crate.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gamemode/events/supply_crate.lua b/gamemode/events/supply_crate.lua index 35ca974..6de809f 100644 --- a/gamemode/events/supply_crate.lua +++ b/gamemode/events/supply_crate.lua @@ -5,24 +5,24 @@ EVENT.Chance = 0.95 EVENT.Type = EVENT_BONUS function EVENT:Start() - + local spawns = ents.FindByClass( "info_lootspawn" ) local loot = table.Random( spawns ) - + if not IsValid( loot ) then MsgN( "ERROR: Unable to locate loot spawns. Map not configured?" ) return end - + local ent = ents.Create( "sent_bonuscrate" ) ent:SetPos( loot:GetPos() + Vector(0,0,10) ) ent:Spawn() - + for k,v in pairs( team.GetPlayers( TEAM_ARMY ) ) do - + v:Notice( "Keep an eye out for a civilian weapon cache", GAMEMODE.Colors.White, 5 ) - + end - + end - + function EVENT:Think() end |
