SA-MP Forums Archive
PrivateMessage Blocking 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: PrivateMessage Blocking System! (/showthread.php?tid=114443)



PrivateMessage Blocking System! - -PunisheR- - 19.12.2009

Hey all,

I want to know how to create a PM blocking system.
commands: /blockpm /unblockpm
what it do: when you type /blockpm, no one can send you a message.
when you type /unblockpm, every one can send you a message.

how to do it?

Thanks.


Re: PrivateMessage Blocking System! - Correlli - 19.12.2009

Search in the script-showroom boards, i think there is a GM/FS with these commands.


Re: PrivateMessage Blocking System! - _[HuN]_Epsilon_ - 19.12.2009

USe my ClickPM filterscript -in my signature-


Re: PrivateMessage Blocking System! - -PunisheR- - 19.12.2009

I don't need a PrivateMessage system!
I need a PrivateMessage Blocking system!


Re: PrivateMessage Blocking System! - _[HuN]_Epsilon_ - 19.12.2009

Create a bool variable for all players.
Make to command that are set the created variable's value to false or true.
If a player writes a message to an other player ( in 0.3 you have to write/get it too ) check the other players variable's value and do according to the value.


Re: PrivateMessage Blocking System! - SpanishMan - 19.12.2009

Very Nice "Tool"

Good Aport.