SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 27/05/2012, 09:53 AM   #1
ProdrifterX
Huge Clucker
 
ProdrifterX's Avatar
 
Join Date: Aug 2011
Location: drift-generation.co.cc
Posts: 211
Reputation: 4
Default Private Message System. [HELP]

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.
__________________
ZoneX-Gaming.tk
_____________________

www.uD-server.tk
ProdrifterX is offline   Reply With Quote
Old 27/05/2012, 10:05 AM   #2
ProdrifterX
Huge Clucker
 
ProdrifterX's Avatar
 
Join Date: Aug 2011
Location: drift-generation.co.cc
Posts: 211
Reputation: 4
Default Re: Private Message System. [HELP]

Omg no1 knows -.-"?
Soz 4 doubleposting i need it fast btw-.-
__________________
ZoneX-Gaming.tk
_____________________

www.uD-server.tk
ProdrifterX is offline   Reply With Quote
Old 27/05/2012, 10:10 AM   #3
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,708
Reputation: 489
Default Re: Private Message System. [HELP]

pawn Code:
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.
__________________
Discord: Cipher#7353
__________________


Server IP: Click me | Discord: Click me

You challenged us, What you want is what you get.
JaKe Elite is online now   Reply With Quote
Old 27/05/2012, 10:11 AM   #4
Private200
High-roller
 
Private200's Avatar
 
Join Date: May 2012
Posts: 1,176
Reputation: 211
Default Re: Private Message System. [HELP]

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!
Private200 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Sistema de Private Message(PM) WeenSoares_ Lançamentos/Releases 41 17/03/2018 12:14 PM
[FilterScript] [FS]Private Message System SpiderWalk Filterscripts 42 21/01/2015 06:31 AM
[Tutorial] Simple Private Message System Using zCMD And Sscanf with Logs Jason_Thunde Tutorials 3 19/10/2011 08:59 PM
Private Message XeoN_13 Help Archive 20 18/10/2009 05:00 PM


All times are GMT. The time now is 05:12 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.