Posts: 262
Threads: 55
Joined: May 2014
Reputation:
0
Whenever someone write any command or send pm to anyone we can read that on CHAT
Ex: i write /car
and Sparta(3): /Car, i don't like that we must can't read others PM and Commands
Posts: 249
Threads: 61
Joined: Aug 2012
Reputation:
0
And we're supposed to guess your script? How about you post that part here and maybe then we can all see what the problem is? xD
Posts: 262
Threads: 55
Joined: May 2014
Reputation:
0
Which code? i can fix it if u remember me the CODE name
Posts: 765
Threads: 183
Joined: Sep 2011
Reputation:
0
i think, just make a variable and make it false in /pm command and go to your function where it sendclientmessage
"%s(%d): %s", name, playerid, command);. put it in a case when you put an statement that the given variable is true, if yes then send it.
Posts: 765
Threads: 183
Joined: Sep 2011
Reputation:
0
can you make me clear.
when you type /pm message. it shows it to all players like "Sparta(3): message" ?
if yes, then just remove the loop and add playerid instead of 'a'.
Posts: 262
Threads: 55
Joined: May 2014
Reputation:
0
it's won't show when other player type any command we can't see right?
Posts: 765
Threads: 183
Joined: Sep 2011
Reputation:
0
it will only show them who have greater or equal to level 8 and it has enabled read pm. Otherwise it wont show.