Files

> > CS2D > Lua Scripts > Rules
Files overviewCS2D overviewLua Scripts overview

English Rules >

26 comments538 b, 703 Downloads

old Rules

The Camo
User Off Offline

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.
Approved by Infinite Rain

Download Download

538 b, 703 Downloads

Comments

26 comments
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

old

Kirito2K
User Off Offline

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 .

old

Myzz
User Off Offline

This It's not very hard it's very easy.

old

CS2D Boss
BANNED Off Offline

seems useless . But it's help me! Nice.
I like it!

old

lennon
User Off Offline

triple H put rules.txt to C;/counter-strike2d folder
I like it!

old

Xirot
User Off Offline

Easy to make.
Simple and usefull.
I like it.
I like it!

old

projr
GAME BANNED Off Offline

is that was a msg? or a hudtxt?
edited 1×, last 12.07.14 12:02:54 am

old LOL

VladIsLove
User Off Offline

OMG I AM BANNED BY ADMIN FOR FLAG THEFT
I like it!

old

Brandy
User Off Offline

very simple but nice
I like it!

old

ohaz
User Off Offline

@Triple H: You forgot to create a file called "rules.txt" in the lua folder where you added your rules!

old

Triple H
User Off Offline

1
[22:13:38] LUA ERROR: sys/lua/rules.lua:8: rules.txt: No such file or directory
1
file = assert(io.open("rules.txt"))

old

The Camo
User Off Offline

Well most of the scripts will have conflict if there are too much scripts ofc.

old

Rocik
User Off Offline

Good... I'am rating execution bugs [...]
I like it!

old

The Camo
User Off Offline

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...)

old

Triple H
User Off Offline

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 ?

old .YeaH.

FiiD
User Off Offline

A great script...and easy to use...good job...
I like it!

old

WAFFLES
User Off Offline

Easy. It's just as hard as Php and Mysql and yes im a nerd at website building.xD

old

Passer
User Off Offline

I never Can make Scripts --

old Help

simpsons27
User Off Offline

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
I like it!

old

Mechanolith
User Off Offline

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
I like it!

old

The Camo
User Off Offline

@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