Forum

> > CS2D > General > Private Messages in Cs2D
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Private Messages in Cs2D

12 replies
To the start Previous 1 Next To the start

old Re: Private Messages in Cs2D

DannyDeth
User Off Offline

Quote
?
Lol, hunter what are you talking about?

On-topic:
Well, you could use AMX2D and just do a small script and you would be able to get it doing
But i think a built-in PM thing would be cool

old Re: Private Messages in Cs2D

J3sse
User Off Offline

Quote
This would be cool. Just like in CS there is Steam. It would be great if you could chat with your ingame friends while playing on different servers.

old Re: Private Messages in Cs2D

Yasday
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
function totable(txt,mt)
	local tbl = {}
	if not mt then mt = "%s" end
	mt = "[^"..mt.."]+"
	for w in string.gmatch(txt,mt)
		table.insert(tbl,w)
	end
	return tbl
end

addhook([[say]],[[sayer]])
function sayer(id,txt)
	cmds = totable(txt)
	if cmds[1] == [[!pm]] then
		local pl = tonumber(cmds[2])
		local msg = string.sub(txt,7)
		msg2(pl,"©255255255"..player(id,"name"..": "..msg.."!C")
		msg2(id,"©255255255Sent message!@C")
		return 1
	end
end

if you mean pming on the server, use this code and
!pm <player id> <msg>

old Re: Private Messages in Cs2D

-D1aMoNd_
User Off Offline

Quote
J3sse has written
This would be cool. Just like in CS there is Steam. It would be great if you could chat with your ingame friends while playing on different servers.


And that's why we have Xfire:
IMG:https://i216.photobucket.com/albums/cc81/diamond_xr6/th_108454061-3.jpg

old Re: Private Messages in Cs2D

DannyDeth
User Off Offline

Quote
@Freeman:
Dude, no need to quote something right above you lol.

On-topic:
Well, Xfire and Raptr are all not actualy part of CS2D, so they are prone to making the game lag on older boxes. But then again it's the only way
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview