English Rules icon

26 comments
30.07.10 09:24:16 pm
like 12 like it!
538 b, 677 Downloads
The Camo
User
Offline Off
Hello,

---------------
Informations
---------------
•There are no bugs, its simple but I haven't seen it on any server so I decided to make it.
•I have been working on it for around 5 hours I'm still learning Lua thought.
•Now you don't need to tell someone the rules, some times forget some part of them, now you can just say !rules your self and all players on the server will see it.
•Also there is 'sample advertise' function in it saying:
To see rules of the server, say !rules


-------------
Installation
-------------
•Go to Lua folder. Example:
C:\Counter-Strike 2D\sys\lua
•then open server.lua and add:
dofile("sys/lua/rules.lua")
•to the end of server.lua file, then copy the rules.lua to Lua folder, after that go to Counter-Strike 2D folder. Example:
C:\Counter-Strike 2D
•and place the rules.txt there, then reedit it to show what ever you want when someone says !rules


-------
Other
-------
•Do not edit/upload this script and/or claim it is yours!
•If you use it in your script(s) give credit.


Thats all, hope you like it.
imageimage
ok This file has been reviewed and approved by Infinite Rain (11.12.15 07:34:59 am)

Comments

26 comments
Goto Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in
18.07.14 02:23:53 pm
Up
Kirito2K
User
Offline Off
Hmm ? , this is useless , so easy to make and you can put the rules in the F1 menu. and you can open "sayfunctions" file in samples , he will learn you how to make it , this seems like copy paste .
18.07.14 04:24:26 am
Up
Myzz
User
Offline Off
This It's not very hard it's very easy.
17.07.14 01:29:23 am
like I like it!
Up
CS2D Boss
BANNED
Offline Off
seems useless . But it's help me! Nice.
11.07.14 11:57:34 pm
like I like it!
Up
lennon
User
Offline Off
triple H put rules.txt to C;/counter-strike2d folder
03.07.13 03:55:29 pm
like I like it!
Up
Xirot
Idiot
Offline Off
Easy to make.
Simple and usefull.
I like it.
03.07.13 02:12:07 pm
Up
projr
GAME BANNED
Offline Off
is that was a msg? or a hudtxt?
edited 1×, last 12.07.14 12:02:54 am
23.06.11 04:27:20 pm
like I like it!
Up
VladIsLove
User
Offline Off
OMG I AM BANNED BY ADMIN FOR FLAG THEFT
21.10.10 08:33:59 am
like I like it!
Up
Brandy
User
Offline Off
very simple but nice
21.10.10 07:46:43 am
Up
ohaz
User
Offline Off
@Triple H: You forgot to create a file called "rules.txt" in the lua folder where you added your rules!
20.10.10 10:16:57 pm
Up
Triple H
User
Offline Off
Code:
1
[22:13:38] LUA ERROR: sys/lua/rules.lua:8: rules.txt: No such file or directory

Code:
1
file = assert(io.open("rules.txt"))
18.10.10 04:01:09 pm
Up
The Camo
User
Offline Off
Well most of the scripts will have conflict if there are too much scripts ofc.
18.10.10 03:58:08 pm
like I like it!
Up
Rocik
User
Offline Off
Good... I'am rating execution bugs [...]
18.10.10 03:48:41 pm
Up
The Camo
User
Offline Off
Maybe you have too much Lua scripts, so this one has conflict with them and wont display it... (Makes errors)

Try putting it in first line of server.lua (Thought other script that made conflict with this one wont work...)
18.10.10 12:57:20 pm
Up
Triple H
User
Offline Off
I don't know why but it isn't worked. I do everything as you told to. I see the massage "To see rules on this server, say !rules" but when I say "!rules" nothing happen. Is anybody know why ?
20.08.10 03:09:49 pm
like I like it!
Up
FiiD
User
Offline Off
A great script...and easy to use...good job...
18.08.10 02:28:52 pm
Up
WAFFLES
User
Offline Off
Easy. It's just as hard as Php and Mysql and yes im a nerd at website building.xD
18.08.10 01:07:29 pm
Up
Passer
User
Offline Off
I never Can make Scripts --
18.08.10 12:31:30 pm
like I like it!
Up
simpsons27
User
Offline Off
Can some teach me how to make a script like this 1 but for other things i did the rules its easy but i cant make others dont know how
09.08.10 11:05:29 pm
like I like it!
Up
Mechanolith
User
Offline Off
Don't know anything of lua T.T
I dont find any good tutorial on the internet and the one that comes with the game sucks
Can someone help me please?

I like this, its so useful, my fingers get hurt only by every minute having to ban anyone or kick... ad say the rules again, now its over thanks
31.07.10 10:47:07 pm
Up
The Camo
User
Offline Off
@Fapicon Glad to see you like it
@Anti Now I can make this in less then 10-15 seconds
To the start Previous 1 2 Next To the start