Dateien

> > CS2D > Lua Scripts > Rules
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Rules >

26 Kommentare538 b, 705 Downloads

alt 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.
Zugelassen von Infinite Rain

Download Download

538 b, 705 Downloads

Kommentare

26 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

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 .

alt

Myzz
User Off Offline

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

alt

CS2D Boss
BANNED Off Offline

seems useless . But it's help me! Nice.
Ich mag es!

alt

lennon
User Off Offline

triple H put rules.txt to C;/counter-strike2d folder
Ich mag es!

alt

Xirot
User Off Offline

Easy to make.
Simple and usefull.
I like it.
Ich mag es!

alt

projr
GAME BANNED Off Offline

is that was a msg? or a hudtxt?
1× editiert, zuletzt 12.07.14 00:02:54

alt LOL

VladIsLove
User Off Offline

OMG I AM BANNED BY ADMIN FOR FLAG THEFT
Ich mag es!

alt

Brandy
User Off Offline

very simple but nice
Ich mag es!

alt

ohaz
User On Online

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

alt

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

alt

The Camo
User Off Offline

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

alt

Rocik
User Off Offline

Good... I'am rating execution bugs [...]
Ich mag es!

alt

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

alt

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 ?

alt .YeaH.

FiiD
User Off Offline

A great script...and easy to use...good job...
Ich mag es!

alt

WAFFLES
User Off Offline

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

alt

Passer
User Off Offline

I never Can make Scripts --

alt 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
Ich mag es!

alt

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
Ich mag es!

alt

The Camo
User Off Offline

@Fapicon Glad to see you like it
@Anti Now I can make this in less then 10-15 seconds
Zum Anfang Vorherige 1 2 Nächste Zum Anfang