Forum

> > CS2D > Scripts > Say command = trigger use
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Say command = trigger use

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Say command = trigger use

Mora
User Off Offline

Zitieren
Hello all! i want make one small script...but i dont know how
Please help me with this code:
1
2
3
4
5
6
addhook("say","_say")
function _say(id,msg)
if msg==("!openmyhome") and player(id,"usgn") == 114940 then
parse("trigger AdminDoor")
end
end
Thanks you

alt Re: Say command = trigger use

Rainoth
Moderator Off Offline

Zitieren
1
2
3
4
5
6
addhook("say","_say")
function _say(id,msg)
	if msg=="!openmyhome" and player(id,"usgn") == 114940 then
		parse("trigger AdminDoor")
	end
end

Pretty sure it's fine and should work...

alt Re: Say command = trigger use

Mora
User Off Offline

Zitieren
I just need fix this code!
why you get me this link?"click this link" <-here nothing for me.

Raining Mammoths you got! thanks you so much
how i can thanks you???

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