Forum

> > CS2D > Scripts > Necessity scripts
Forums overviewCS2D overview Scripts overviewLog in to reply

English Necessity scripts

1 reply
To the start Previous 1 Next To the start

old Necessity scripts

Man Of Steel
User Off Offline

Quote
Hello Everyone,
Guys i need some help,

about UTSFX,

So let talk about:

Guys as you know, scripts are very usable in cs2d servers, like make vips and moderators and etc works.

I wanna to add utsfx mode in my server, like other servers.
I known, cs2d have already utsfx mode in sys/lua/samples.
I'm right?.

So, i will be add a line in my server.lua:

dofile("sys/lua/samples/UTSFX.lua").

But its not working, by the way i added more scripts like Hc admin scripts and improve badwords and others, But somes are working and somes Doesn't working, so what problem?

pelase help me--

___________________________

And i need VIP script i-e Other servers, I mean If i specific time to be played in server i will be maked vip

So tell me what script be using there

Thanks for attension

old Re: Necessity scripts

Gaios
Reviewer Off Offline

Quote
addhook()
in Lua overwrites another hooks. cs2d lua cmd addhook has priority parameter, so type random priorities like 2, 5, -3... to your all addhook commands in every file.

The best way is to use framework for CS2D scripts.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview