Forum

> > CS2D > Scripts > Err... @say ??
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Err... @say ??

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Err... @say ??

Cons
User Off Offline

Zitieren
1
2
3
4
5
6
7
function geral(id, txt)
if txt:lower():sub(1, 4) == "@say" then
                    local gerals=txt:sub(5)
	msg("©255255153"..player(id,"name").." (PLAYER): "..txt)
return 1
end
end

hum, maybe its easy, but we are here to learn alright?

in game when i type: @say mg ... It comes like that: Dresa said:@say msg

understood?

can you help ya?

alt Re: Err... @say ??

EP
User Off Offline

Zitieren
1
msg("©255255153"..player(id,"name").." (PLAYER): "..txt)
change to
1
msg("©255255153"..player(id,"name").." (PLAYER): "..gerals)
and it will work properly

alt Re: Err... @say ??

Cons
User Off Offline

Zitieren
user EP hat geschrieben
1
msg("©255255153"..player(id,"name").." (PLAYER): "..txt)
change to
1
msg("©255255153"..player(id,"name").." (PLAYER): "..gerals)
and it will work properly


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