Forum

> > Trash > I need you  
ForenübersichtTrash-ÜbersichtEinloggen, um zu antworten

Englisch I need you  

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

geschlossen verschoben I need you  

kewixasd
User Off Offline

Zitieren
Hi

Can someone help me?  
I need some scripts
private message if you help

I would really appreciate it
and I would be grateful

Have a nice day

alt Re: I need you  

-3Jlou_nTu4-
User Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
addhook("say", "say_func")

function say_whisper(plid, msg)
	local plidDst = string.sub(msg, 4, 5)

	if string.byte(plidDst, 2, 2)==string.byte(' ') then
		plidDst = string.sub(msg, 4, 4)
		msg = string.sub(msg, 6)
	else
		msg = string.sub(msg, 7)
	end

	plidDst = tonumber(plidDst)
	if plidDst and string.len(msg)~=0 then
		msg = player(plid, "name")..': '..msg
		parse("sv_msg2 "..tostring(plid)..' '..msg)
		parse("sv_msg2 "..tostring(plidDst)..' '..msg)
	end
end

function say_func(plid, msg)
	if string.byte(msg, 1, 1)==string.byte('!') then
		if string.byte(msg, 2, 2)==string.byte('w') then
			say_whisper(plid, msg)
			return 1
		end
	end

	return 0
end
1× editiert, zuletzt 08.12.18 18:01:37

alt Re: I need you  

Mami Tomoe
User Off Offline

Zitieren
The title is misleading (maybe next time Ashe)

You should explain what type of scripts you want so us scripters will know if we're able to help.

alt Re: I need you  

DC
Admin Off Offline

Zitieren
Trashed.
Sorry, this is not how a forum or asking for help works. If you want to ask for help you have to tell people what exactly you want from them. You can't expect that people contact you and ask you how they can help you.

Also the super generic forum title is of course worthless.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenTrash-ÜbersichtForenübersicht