Files

> > CS2D > Lua Scripts > Announcement script © by Snake_Eater
Files overviewCS2D overviewLua Scripts overview

English Announcement script © by Snake_Eater >

18 comments823 b, 663 Downloads

old Announcement script © by Snake_Eater

Snake_Eater
User Off Offline

Hi all

this script is my "announcement script".It will show up a text that runs from left to right and if it is at end it will start again.
Which text I tell you.
First you have to fill in this...
1
2
speed = --here speed of text.(1-30) otherwise it will be unreadable
admins = {}--here in the usgn's which are allowed to make an announcement
If you've done that then if you are in admins list (look in code) and you say for example "!msg Hi guys" then the text will be "Hi guys".
And if you say "!stop" then the text will dissapear.

enjoy yourself

Ps:If you find bugs tell it me pls.
Approved by GeoB99

Download Download

823 b, 663 Downloads

Comments

18 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old I like it

LiLia
User Off Offline

good for chat, i will make a chat server and use it
inf/5
I like it!

old A BUG !!!

hunter139
User Off Offline

every thing works correctly but, 1 bug only
when you put your usgn in the lua, and join your server, you get a message saying that "you are not allowed to make announcements, the if i say "!msg <text>, the announcement is working

Rate 4.9/5
I like it!

old

cs2dsuper
User Off Offline

this is funny script
infinite/10
I like it!

old

light and gaia
User Off Offline

Good!!! i like this!!
I like it!

old

connor34
User Off Offline

@OnGameNet
WTF Its the second time i see you go and f'ck your self
You dont have any lua mod now go and f'ck your mom

P.S DC Pls dont to flame on my post ok
I like it!

old ;D

Quit123
User Off Offline

nice good job i give you 1000000000000000000000000000/10
I like it!

old

OnGameNet
User Off Offline

- - no download!! no lua..
--

old

robed
User Off Offline

this is nice give me 10000000000000000/10

this is cool
I like it!

old

Brandy
User Off Offline

here is your cookie cookie oh no wait cookies
I like it!

old

Rocik
User Off Offline

I dont like "!stop" and it could be better.
I like it!

old

Snake_Eater
User Off Offline

thx for rate so nice ∗

old

Brandy
User Off Offline

It is very good!
I like it!
I like it!

old

HaRe
User Off Offline

easy, Srry dont like it.
I can do this in 2 min

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
endtimer = 3 -- When the hudtxt should be removed
addhook("second","removeh") function removeh()
	stimer=stimer+1
	if stimer==endtimer
		parse('hudtxt 1 "©000500000" 100 70')
	end
end

addhook("say","sayf") function sayf(id,)
	a = "";
	for l in io.lines("sys/lua/admins.txt") do
		a = (a.." "..l)
	end
	c = player(id,"usgn")
	lcoal isadmin = string.find(a,c)
	if (string.sub(t,1,4) == "!msg") then
		if isadmin then
			local txt = string.sub(t,6)
			parse('hudtxt 1 "©000500000'..player(id,'name')..': '..txt..'" 100 70')
			stimer = 0
			return 1
		else
			msg2(id,"©255000000You aint an admin sorry")
			return 1
		end
	end
end

old

3RROR
User Off Offline

Nice. You got a high 5 and a cookie :3
I like it!

old

Snake_Eater
User Off Offline

thx for voting
pls vote if you download it

old

Sparty
Reviewer Off Offline

One..Word.....AWESOME!!!
I like it!

old .YeaH.

FiiD
User Off Offline

Wooow...I wanted always this script when I saw it first time in CS 1.6...I need to check it out...
I like it!

old

244453211332112
User Off Offline

hi snake really nice script its really useful
I like it!
To the start Previous 1 Next To the start