How can i see player's pm while spectating
#1

How can i see players pms while i m spectating him. ?

if he sends msg to someone or someone send msg to him. i want to see everything while spectating so.

Also, I need a command /checkpms so it shows me all players pms.

I would be your so thankful if you guyz give me codes/

Thanks!
Reply
#2

I created a PM system but someone deleted I don't know why, so it has /spypms command where you can enable/disable the feature to see the pms while specing you need to create a variable and set it to 1 when you spec someone then put on your system the if and sends the message to online admins

to get my script add me on skype
SecretBoss GR
Reply
#3

Added you. Someone can help me and post here codes?
Reply
#4

give us pm codes in your script to help you
Reply
#5

Post your /pm command and /spec command.
Reply
#6

PHP код:
CMD:pm(playeridparams[])
{
    new 
idmsg[64], string[256];
    if(
sscanf(params"us[64]"idmsg)) return SendClientMessage(playeridRED"[USAGE]: /pm [name/id] [msg]");
    if(!
IsPlayerConnected(id)) return SendClientMessage(playeridRED"Player not found.");
    if(
strlen(msg) < || strlen(msg) > 64) return SendClientMessage(playeridRED"Your message can only contain 1-64 characters.");
    if(
playerid == id) return SendClientMessage(playeridRED"You cannot PM yourself.");
    if(
IsIgnoringPMs{id} == 1) return SendClientMessage(playeridRED"That player is currently ignoring private messages.");
    {
        
format(stringsizeof(string), "[PM] To %s (%d): %s"GetName(id), idmsg);
        
SendClientMessage(playeridYELLOWstring);
        
format(stringsizeof(string), "[PM] From %s (%d): %s"GetName(playerid), playeridmsg);
        
SendClientMessage(idYELLOWstring);
        
SendClientMessage(idYELLOW"Use /r [msg] to reply to this PM, use /nopm to ignore all PMs.");
        
PlayerPlaySound(id,1085,0.0,0.0,0.0);
        
chattingwith[id] = playerid;

    }
    return 
true;

I would like to see all players pms by type /checkpms and /checkpmsoff

That would be better if you make with cmds
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)