SA-MP Forums Archive
[FilterScript] Advance Pm and whisper 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Advance Pm and whisper system! (/showthread.php?tid=615740)



Advance Pm and whisper system! - DeeadPool - 26.08.2016

Advance PM and Whisper system
Hello all! this is my second filter-script and it is on pm system which even includes whisper system. When I was a newbie I had a lot of trouble to find a PM Good PM system and I felt that this problem should not happen to anyone else so I decided to make a good pm system with features such as block other people.


Commands:-

/pm (to send someone a private message!)
/reply or /r (Reply to a private message sent by someone.)
/pmon (To receive private messages)
/pmoff (To stop receiving private messages)
/block (to block a particular person from sending you a private message)
/unblock (to unblock a particular person from sending you a private message)
/whisper or /w ( to send message to nearby people around you. a chat bubble of your message will also be on your head)
Download Link:-

http://pastebin.com/s6Ni9zrv
Hope you all like it



Re: Advance Pm and whisper system! - alexkeward - 26.08.2016

Nice.


Re: Advance Pm and whisper system! - DeeadPool - 26.08.2016

Quote:
Originally Posted by alexkeward
Посмотреть сообщение
Nice.
Thanks


Re: Advance Pm and whisper system! - Quinncell - 26.08.2016

It's very simple but I like it.It's very useful for new scripters.
+rep!


Re: Advance Pm and whisper system! - oMa37 - 26.08.2016

Simple but ..
PHP код:
  new ID,
       
Message[256],
       
String[256],
       
String2[256];
   if(
sscanf(parmas"us[256]"IDMessage)) return SendClientMessage(playeridCOLOR_RED"Usage: /pm [id] [message]"); 
You kidding right? Why size 265? Don't ya think it's too much?
Also, You don't have to define a two variables for formatting, only one define is enough for +10 tho.
I can't show all the codeshere, since i'm using my phone. But try to optimise it a little bit more.
Good start though.


Re: Advance Pm and whisper system! - DarkSkull - 26.08.2016

Good job. But I have a suggestion about the block system. The way you have it setup now allows you to only block one playerid. What if the players want to block more than one playerid?


Re: Advance Pm and whisper system! - Quinncell - 26.08.2016

Quote:
Originally Posted by DarkSkull
Посмотреть сообщение
Good job. But I have a suggestion about the block system. The way you have it setup now allows you to only block one playerid. What if the players want to block more than one playerid?
Yes he has a point here.You could keep this command and improve it or you could also add a /blockall command to disable everyone trying to pm you.


Re: Advance Pm and whisper system! - DeeadPool - 26.08.2016

Quote:
Originally Posted by KeithCooper
Посмотреть сообщение
Yes he has a point here.You could keep this command and improve it or you could also add a /blockall command to disable everyone trying to pm you.
for /blockall /pmoff is there, and i am working on /block command. thanks for the suggestion