Forum

> > CS2D > Scripts > !bring no works
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch !bring no works

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt !bring no works

superpegamento
User Off Offline

Zitieren
my cmd !bring no works

1
2
3
4
5
6
7
addhook("say" , "testing")
function testing(id,message)
if message: lower (): sub (1,6) == "!bring" then
parse("setpos "..id.." "..player(1,"x").." "..player(1,"y"))
return 1
end
end

alt Re: !bring no works

sheeL
User Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
addhook("say","_say")
function _say(id,txt)
     if string.sub(txt,1,6)=="!bring" then
          local x = player(id,"x")
          local y = player(id,"y")
          parse("setpos "..string.sub(txt,8,string.len(txt)).." "..x.." "..y)
          return 1
     end
end

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