[HELP]XtremeAdmin2 Admin Private Message!!! 0.3a
#1

I'm using XtremeAdmin2 just not getting updates to the system that PM, see below:

//================================================== ================
public OnPlayerPrivmsg(playerid, recieverid, text[]) {
if(!IsPlayerConnected(playerid)||!IsPlayerConnecte d(recieverid)) return 1;
new string[256], ToName[24], Name[24]; GetPlayerName(playerid,Name,24);
if(Config[ExposePMS]) {
GetPlayerName(recieverid,ToName,24);
format(string,256,"PM: %s [%d] -> %s [%d]: %s",Name,playerid,ToName,recieverid,text);
SendMessageToAdmins(string);
}
if(Config[WireWithPM] && Variables[playerid][Wired]) {
Variables[playerid][WiredWarnings]--;
if(Variables[playerid][WiredWarnings]) {
format(string,256,"You have been wired thus preventing you from talking and PMing. [Warnings: %d/%d]",Variables[playerid][WiredWarnings],Config[WiredWarnings]);
SendClientMessage(playerid,white,string); return 0;
}
else {
format(string,256,"%s has been kicked from the server. [REASON: Wired]",Name);
SendClientMessageToAll(yellow,string); SetUserInt(playerid,"Wired",0);
Kick(playerid); return 0;
}
}
return 1;
}
//================================================== ==========================

How do I upgrade it to version 0.3a, the "/ pm" I'm using base.pwn, so that messages appear not private, anyone can help me to and updates the system of private messaging xtremeadmin order to display the "pms" of players! Thanks ...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)