Forum

> > CS2D > Scripts > use 9228 functions
Forums overviewCS2D overview Scripts overviewLog in to reply

English use 9228 functions

3 replies
To the start Previous 1 Next To the start

old Re: use 9228 functions

Seekay
Reviewer Off Offline

Quote
*sigh* so much cancer lately..
---
There's a short tutorial on the download-page. Seriously, read it and never make such threads again. Good day.

old Re: use 9228 functions

ANOTHERDAILY
User Off Offline

Quote
user Seekay has written
*sigh* so much cancer lately..
---
There's a short tutorial on the download-page. Seriously, read it and never make such threads again. Good day.


I looked but did not understand

old Re: use 9228 functions

Apache uwu
User Off Offline

Quote
First setup the lua:
     Move P228.lua into "sys/lua/*.*"
     Open server.lua from "sys/lua/*.*", if server.lua does not exist create one
     Replace contents of server.lua with:
1
dofile("sys/lua/P228.lua")
     Save and close the editor.

Now Open P228.lua from "sys/lua/*.*"
     Find line 22 of "P228.lua"

Looks like:
1
admins={16202,25021}]

And change it to:
1
admins={96380}

Now open cs2d and run a new game, open the chatbar, with Z usually, and type
1
/bind mouse3 "say toggle_p228_adm_mode"

Now when you click the mousewheel you will get a notification of what the P228 will do, such commands will fire when shot, examples are: kick, ban, freeze, etc. The names are self-explanatory.

Make sure to equip yourself with a p228 though!
To do that, open the chatbar with Z and type:
1
/equip 1 4
(Assuming you starting the game with new game)
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview