How can i see player's pm while spectating -
STONEGOLD - 07.07.2015
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!
Re: How can i see player's pm while spectating -
SecretBoss - 07.07.2015
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
Re: How can i see player's pm while spectating -
STONEGOLD - 07.07.2015
Added you. Someone can help me and post here codes?
Re: How can i see player's pm while spectating -
SNAKE12 - 07.07.2015
give us pm codes in your script to help you
Re: How can i see player's pm while spectating -
Shaktimaan - 07.07.2015
Post your /pm command and /spec command.
Re: How can i see player's pm while spectating -
STONEGOLD - 07.07.2015
PHP код:
CMD:pm(playerid, params[])
{
new id, msg[64], string[256];
if(sscanf(params, "us[64]", id, msg)) return SendClientMessage(playerid, RED, "[USAGE]: /pm [name/id] [msg]");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid, RED, "Player not found.");
if(strlen(msg) < 1 || strlen(msg) > 64) return SendClientMessage(playerid, RED, "Your message can only contain 1-64 characters.");
if(playerid == id) return SendClientMessage(playerid, RED, "You cannot PM yourself.");
if(IsIgnoringPMs{id} == 1) return SendClientMessage(playerid, RED, "That player is currently ignoring private messages.");
{
format(string, sizeof(string), "[PM] To %s (%d): %s", GetName(id), id, msg);
SendClientMessage(playerid, YELLOW, string);
format(string, sizeof(string), "[PM] From %s (%d): %s", GetName(playerid), playerid, msg);
SendClientMessage(id, YELLOW, string);
SendClientMessage(id, YELLOW, "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