Files

> > CS2D > Lua Scripts > 9 P228 Functions for Admins
Files overviewCS2D overviewLua Scripts overview

English 9 P228 Functions for Admins >

101 comments2 kb, 2,060 Downloads

old 9 P228 Functions for Admins

Snake_Eater
User Off Offline

Hi all !!

THIS SCRIPT HELPS ADMINS TO CONTROL THE SERVER!

PRESS ON THE MOUSEWHEEL TO CHANGE FUNCTIONS!

WRITE THIS IN server.lua

1
dofile("sys/lua/P228.lua")

All rights reserved
edited 3×, last 24.10.10 02:26:30 pm
Approved by GeoB99

Download Download

2 kb, 2,060 Downloads

Comments

101 comments
Page
To the start Previous 1 2 3 4 5 6 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

SSGLemon
User Off Offline

@user keymo: Go to server settings at change to unbuyable p228
I like it!

old

Hendrix
User Off Offline

I like it
I like it!

old

Kantos
BANNED Off Offline

... no work!

old

Deleted User

Here is something new , but about P228 easy.

old

Kristian Lim
User Off Offline

WOW this is a good scipt
just with a hand gun you can control the server
I like it!

old

CaneCorso
User Off Offline

FUUU, i haven't the mouse wheel

@user Quit123:
Take the like thx you
edited 2×, last 18.07.13 09:01:13 pm

old A Question

keymo
User Off Offline

Name = p228 functions for admins
but every player can use this in my server how to make that only admin can use that???
I like it!

old

Sneaky
BANNED Off Offline

@user XeniTh: In the "unrealsoftware galaxy" are many good things
I like it!

old

Fluphy
User Off Offline

nice work !
I like it!

old

Sneaky
BANNED Off Offline

@user Snake_Eater: good script its usefull for servers
I like it!

old

0verGuyver
User Off Offline

good work)) i try it.
how add adminlist? with USGN?
I like it!

old

EvO
User Off Offline

Nice Script I Download And Use ; )
I like it!

old

Mohat
User Off Offline

i click right but not work .. and can i use it with bot ???

Nice script
I like it!

old ifix

Quit123
User Off Offline

i fix any and for select the mod only click right

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
new = 0

addhook ("parse","wew") 
function wew(cmd)
if cmd=="t" and new==0 then 
new = 1
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 1000000")
parse ('hudtxt2 1 1 "©000255000P228=normal" 30 10 0')
elseif cmd=="t" and new==1 then
new = 2
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 0")
parse ('hudtxt2 1 1 "©255000000P228=normal" 20 10 0')
parse ('hudtxt2 1 2 "©000255000P228=kick" 30 20 0')
elseif cmd=="t" and new==2 then
new = 3
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 0")
parse ('hudtxt2 1 2 "©255000000P228=kick" 20 20 0')
parse ('hudtxt2 1 3 "©000255000P228=ban" 30 30 0')
elseif cmd=="t" and new==3 then
new = 4
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 0")
parse ('hudtxt2 1 3 "©255000000P228=ban" 20 30 0')
parse ('hudtxt2 1 4 "©000255000P228=catch" 30 40 0')
elseif cmd=="t" and new==4 then
new = 5
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 0")
parse ('hudtxt2 1 4 "©255000000P228=catch" 20 40 0')
parse ('hudtxt2 1 5 "©000255000P228=data" 30 50 0')
elseif cmd=="t" and new==5 then
new = 6
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 0")
parse ('hudtxt2 1 5 "©255000000P228=data" 20 50 0')
parse ('hudtxt2 1 6 "©000255000P228=freeze" 30 60 0')
elseif cmd=="t" and new==6 then 
new = 7
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 0")
parse ('hudtxt2 1 6 "©255000000P228=freeze" 20 60 0')
parse ('hudtxt2 1 7 "©000255000P228=come back" 30 70 0')
elseif cmd=="t" and new==7 then 
new = 8
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 0")
parse ('hudtxt2 1 7 "©255000000P228=come back" 20 70 0')
parse ('hudtxt2 1 8 "©000255000P228=unfreeze" 30 80 0')
elseif cmd=="t" and new==8 then 
new = 9
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 0")
parse ('hudtxt2 1 8 "©255000000P228=unfreeze" 20 80 0')
parse ('hudtxt2 1 9 "©000255000P228=strip" 30 90 0') 
elseif cmd=="t" and new==9 then 
new = 1
parse ("sv_sound2 1 weapons/click.wav")
parse ("mp_wpndmg p228 1000000")
parse ('hudtxt2 1 1 "©000255000P228=normal" 30 10 0')
parse ('hudtxt2 1 9 "©255000000P228=strip" 20 90 0')
end
end

addhook ("hit","qww")
function qww(id,bla,we)
if we==4 and player(id,"health") > 0 and new==1 then
parse ("killplayer "..id.."")
end
end

addhook ("hit","qww2")
function qww2(id,bla,we)
if we==4 and new==2 then
parse ("kick "..id.."")
end
end

addhook ("hit","qww3")
function qww3(id,bla,we)
if we==4 and new==3 then
parse ("banip "..player(id,"ip").."")
end
end

addhook ("hit","lolo")
function lolo(id,bla,we)
x=player(id,"tilex")
y=player(id,"tiley")
if new==4 and we==4 then
parse ("spawnobject 5 "..(x-1).." "..(y-1))
parse ("spawnobject 5 "..(x).." "..(y-1))
parse ("spawnobject 5 "..(x+1).." "..(y-1))
parse ("spawnobject 5 "..(x-1).." "..(y))
parse ("spawnobject 5 "..(x+1).." "..(y))
parse ("spawnobject 5 "..(x-1).." "..(y+1))
parse ("spawnobject 5 "..(x).." "..(y+1))
parse ("spawnobject 5 "..(x+1).." "..(y+1))
end
end

addhook ("hit","qww5")
function qww5(id,bla,we)
if we==4 and new==5 then
msg2(1,"©255255000Name= "..player(id,"name").."          Health= "..player(id,"health"))
msg2(1,"©255255000Id= "..id.."                 Ip= "..player(id,"ip"))
msg2(1,"©255255000Score= "..player(id,"score").."          Deaths= "..player(id,"deaths"))
msg2(1,"©255255000Team= "..player(id,"team"))
end
end

addhook ("spawn","lop")
function lop(id)
if id==1 then
new = 0
parse ('hudtxt2 1 1 "©255000000P228=normal" 20 10 0')
parse ('hudtxt2 1 2 "©255000000P228=kick" 20 20 0')
parse ('hudtxt2 1 3 "©255000000P228=ban" 20 30 0')
parse ('hudtxt2 1 4 "©255000000P228=catch" 20 40 0')
parse ('hudtxt2 1 5 "©255000000P228=data" 20 50 0')
parse ('hudtxt2 1 6 "©255000000P228=freeze" 20 60 0')
parse ('hudtxt2 1 7 "©255000000P228=come back" 20 70 0')
parse ('hudtxt2 1 8 "©255000000P228=unfreeze" 20 80 0')
parse ('hudtxt2 1 9 "©255000000P228=strip" 20 90 0')
parse ('hudtxt2 1 34 "©2552550001." 0 10 0')
parse ('hudtxt2 1 35 "©2552550002." 0 20 0')
parse ('hudtxt2 1 36 "©2552550003." 0 30 0')
parse ('hudtxt2 1 37 "©2552550004." 0 40 0')
parse ('hudtxt2 1 38 "©2552550005." 0 50 0')
parse ('hudtxt2 1 39 "©2552550006." 0 60 0')
parse ('hudtxt2 1 40 "©2552550007." 0 70 0')
parse ('hudtxt2 1 41 "©2552550008." 0 80 0')
parse ('hudtxt2 1 42 "©2552550009." 0 90 0')
end
end

addhook ("hit","qww6")
function qww6(id,bla,we)
if we==4 and new==7 then
parse ("setpos "..id.." "..player(bla,"x").." "..player(bla,"y"))
end
end

addhook ("hit","qww7")
function qww7(id,bla,we)
if we==4 and new==6 then
parse ("speedmod "..id.." -100")
end
end

addhook ("hit","qww8")
function qww8(id,bla,we)
if we==4 and new==8 then
parse ("speedmod "..id.." 0")
end
end

addhook ("hit","swe")
function swe(id,hiter,we)
for z=1,88,1 do
if we==4 and new==9 then
parse ("strip "..id.." "..z.."")
end
end
end

addhook ("spawn","bindp228")
function bindp228(p)
parse ("bind mouse2 t")
parse ("equip 1 4")
end
I like it!

old

Snake_Eater
User Off Offline

not turn the mousewheel. If you turn it you will change weapons. But you have to PRSS on the mousewheel.

old

HeavyWings
User Off Offline

i cant change the functions REALLY

PRESS ON THE MOUSEWHEEL TO CHANGE FUNCTIONS!
i use mousewheel to scroll the weopons

old

Picias
BANNED Off Offline

great script
really its good
I like it!

old

ArChaLV
User Off Offline

This Script is very good
I like it!
To the start Previous 1 2 3 4 5 6 Next To the start