Server Plaque

I went on this server the other day and they had a sort of plaque at the spawn point. They had a blast door and on top was a LUA style bulletin board saying “Welcome to the bla bla server”.

I was wondering if this is difficult to do and what I would need to do in order to make it? I have basic LUA scripting knowledge.

Its just a 3d2d, I have one laying around I can give you as a reference if you would like.

[editline]12:48AM[/editline]

or you could steal it and say you made it if you want

Haha, I just need it for my server, I don’t plan on distributing it :). Yeah that will do nicely, could you post it for me please?

Well its an entity so I’ll just break it down.
And its slightly modified because originally it was set up to be updated from a website.
Shared.lua
[lua]ENT.Type = “anim”
ENT.Base = “base_anim”
ENT.PrintName = “News Board”
ENT.Author = “H3LPLESS_ALPACA”
ENT.Contact = “”
ENT.Purpose = “NEWS”
ENT.Spawnable = false
ENT.AdminSpawnable = false
[/lua]

init.lua
[lua]AddCSLuaFile( ‘cl_init.lua’ )
AddCSLuaFile( ‘shared.lua’ )
include( ‘shared.lua’ )

function ENT:Initialize()

self:SetModel( "models/hunter/plates/plate8x8.mdl" )
self.Entity:PhysicsInit( SOLID_VPHYSICS )
self.Entity:SetMoveType( MOVETYPE_VPHYSICS )
self.Entity:SetSolid( SOLID_NONE )
self.Entity:DrawShadow( false )

local phys = self:GetPhysicsObject()
if phys:IsValid() then
	phys:EnableMotion(false)
end

end

function ENT:OnTakeDamage(dmg)
return false
end[/lua]

cl_init.lua
[lua]include(“shared.lua”)

function ENT:Draw()
cam.Start3D2D(self:GetPos() - self:GetAngles():Forward() * 190 + self:GetAngles():Right() * 190, self:GetAngles() + Angle(90, 90, 90), 1)
draw.DrawText(“TYPE WHAT YOU WANT TO BE WRITEN HERE”), “HUDNumber3”, 0, 0, Color(255, 255, 255, 255), TEXT_ALIGN_CENTER )
cam.End3D2D()

end
[/lua]

and it needs to be spawned automatically so.
autorun/server/whatevernameyouwant.lua
[lua]

local Map = game.GetMap()

local SpawnPositions = {}

SpawnPositions[“gm_construct”] = Vector(493, -238,85)
SpawnPositions[“gm_flatgrass”] = Vector(608, -41, 321)
SpawnPositions[“rp_downtown_v2”] = Vector(-2896, -1439, 13)

local SpawnAngles = {}

SpawnAngles[“gm_construct”] = Angle(90, 180, 180)
SpawnAngles[“gm_flatgrass”] = Angle(90, 180, 180)
SpawnAngles[“rp_downtown_v2”] = Angle(90, 180, 180)

function SpawnNewsbilboard()

local ent = ents.Create( "Newsbilboard" )
ent:SetPos(SpawnPositions[Map])
ent:SetAngles(SpawnAngles[Map])
ent:Spawn() 

end
hook.Add(“InitPostEntity”, “SpawnNewsbilboardderpuniq”, SpawnNewsbilboard)[/lua]

You will have to set it up your own if you want it to work for any other maps.

[editline]01:11AM[/editline]

and I suggest not trying to type too much on it or it will look weird.

Anyone else that drops by and decides to take mah code please rate me useful (Even if your just going to take the code and say its yours and that you made it.)

Cheers dude, this is exactly what I was looking for. +rep.