Looking for a PM system. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Looking for a PM system. (
/showthread.php?tid=103515)
Looking for a PM system. -
Frank_Brown - 20.10.2009
Hello, im looking for a pm system.
Does anyone know one?
Thanks
Re: Looking for a PM system. -
gtalover12 - 20.10.2009
You can just make a command...
SendClientMessage with the text the dude put in the parameters of the command
I.E -
Код:
/pm PLAYERID hello thefakepwnznub"
use the format function to format what he said in the parameters..
I.E -
Код:
format(string,sizeof(string),"%s",params);
Yeah i use DCMD...
Then send the string to the playerid the dude entered
I.E -
Код:
SendClientMessage(playerid, COLOR, string);
Hey I aint giving you no complete code...
Learn by yourself...
Aint trying to be mean or anything, but hey.. you'll never learn if somebody posts the code for you..
Noxy
EDIT -
https://sampwiki.blast.hk/wiki/SendClientMessage
https://sampwiki.blast.hk/wiki/Format
https://sampwiki.blast.hk/wiki/Fast_Commands
EDIT2 -
Wrong section

Ask a mod to move it to the scripting discussions thread..
Re: Looking for a PM system. -
Karlip - 20.10.2009
There's a filterscript called base.pwn in your filterscripts folder, see it.
Re: Looking for a PM system. -
gtalover12 - 20.10.2009
Didn't see that
Re: Looking for a PM system. -
MenaceX^ - 20.10.2009
What in the filterscript is awful in my opinion.
Create your own, it ain't that hard.
Re: Looking for a PM system. -
Frank_Brown - 20.10.2009
Ok thanks