English I need you  

4 replies
Goto Page
To the start Previous 1 Next To the start
08.12.18 05:16:04 pm
Up
kewixasd
User
Offline Off
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
N@
08.12.18 05:55:44 pm
Up
-3Jlou_nTu4-
User
Offline Off
Code:
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
edited 1×, last 08.12.18 06:01:37 pm
08.12.18 05:57:53 pm
Up
Goo
User
Offline Off
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.
08.12.18 06:11:32 pm
Up
kewixasd
User
Offline Off
@user Goo:

I wrote that I was private
 
N@
08.12.18 07:26:54 pm
Up
DC
Admin
Offline Off
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.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 Next To the start