Forum

> > CS2D > Scripts > Why it does not works
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Why it does not works

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Why it does not works

IvanAkulichev
User Off Offline

Zitieren
--[[
35hp
]]--

addhook("spawn" , "hegrenade")
function hegrenade(id,player)
     if (player(id,"score")>10) then      parse("equip "..id.." 51 ")
end
end
what is my mistake?

alt Re: Why it does not works

sheeL
User Off Offline

Zitieren
look this idea

1
2
3
4
5
6
addhook("spawn","_Spawn")
function _Spawn(id)
if player(id,"score") >10 then
	parse("equip "..id.." 51")
	end
end

alt Re: Why it does not works

KagamineLen
User Off Offline

Zitieren
1
2
3
4
5
6
addhook("spawn" , "hegrenade")
function hegrenade(id)
    if player(id,"score") > 10 then
		parse("equip "..id.." 51")
	end
end

maybe this will work
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht