Private Message System. [HELP]
#1

Hey guys.
Iam using Base stock command for private message...
So i want to make some pm system or edit base when some one are pming with other player only rcon admins can read PMS [if you know what i mean]
I can use LUX pm but i dont like style cuz its dialog and etc. or some one can find for LUXAdmin like base /pm [id] [msg] and RCON Admins can read PMS.
Thanks
If you helped me i will give you REP +1 cause i really need this.
Thanks again.
Reply
#2

Omg no1 knows -.-"?
Soz 4 doubleposting i need it fast btw-.-
Reply
#3

pawn Код:
CMD:pm(playerid, params[])
{
   new id, pName[MAX_PLAYER_NAME], pName2[MAX_PLAYER_NAME], str[128], msg[100];
   if(sscanf(params, "us[100]", id, msg)) return SendClientMessage(playerid, -1, "USAGE: /pm [id] [msg]");
   GetPlayerName(playerid, pName, sizeof(pName));
   GetPlayerName(id, pName2, sizeof(pName2));
   format(str, sizeof(str), "PM Sent to %s(%d): %s", pName2, id, msg);
   SendClientMessage(playerid, -1, str);
   format(str, sizeof(str), "PM From %s(%d): %s", pName, playerid, msg);
   SendClientMessage(id, -1, str);
   return 1;
}
Modify it i have no time to script the PM reading. i have to play now.
Reply
#4

If you have searched on ****** you should find it , but anyway i give you the link where to find . Don't know how it works , but i think there should be a guide . http://forum.sa-mp.com/showthread.ph...rivate+Message .

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)