Forum

> > CS2D > General > Script Skins HELP :D
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Script Skins HELP :D

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Script Skins HELP :D

xFurkan67
User Off Offline

Zitieren
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
admins = {"40246","30703",}
i = {}

function isad(id)
     for i,v in pairs(admins) do
          if player(id,"usgn") == tonumber(v) then
               return true
          end
     end
     return false
end

addhook("say","player_say")
function player_say(id,txt)
if(txt=="1") then
if isad(id) then
if not i[id] then i[id] = 0 end
freeimage(i[id])
parse("speedmod "..id.." 11")
parse("equip "..id.." "..3)
parse("sethealth "..id.." "..120)
parse("setarmor "..id.." "..120)
parse([[mp_wpndmg "Chainsaw" 300]] )
i[id]=image("gfx/wings.bmp",1,1,200+id)
imagescale(i[id],1,1)
imageblend(i[id],0)
imagealpha(i[id],1.0)
return 1
end
end
end
its Ok but when I write 1 come the wings to me ande when 307003 1 write goes the wings at me to him. HELP

alt Re: Script Skins HELP :D

DannyDeth
User Off Offline

Zitieren
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
admins = {}

addhook("say","player_say")
function player_say(id,txt)
	if(txt=="1") then
		if admins[player(id,"usgn")] then
			freeimage(id)
			image("gfx/wings.png",1,1,200+id)
			parse("speedmod "..id.." 11")
			parse("equip "..id.." "..3)
			parse("sethealth "..id.." "..120)
			parse("setarmor "..id.." "..120)
			parse('mp_wpndmg "Chainsaw" 300')
			return 1
		end
	else
		return 0
	end
end

function addAdmin(USGN_ID)
	admins[USGN_ID] = {}
	local A = admins[USGN_ID]
end

addAdmin(40246)
addAdmin(30703)

There you go

alt Re: Script Skins HELP :D

Ayudon
User Off Offline

Zitieren
xFurkan67 hat geschrieben
i become the 120 kevlat etc.. but not the wings

Thats because you dont have the wings.png in the gfx folder, you had got them but you cant see them but if you have that file in the gfx folder..
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht