SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 29/10/2010, 09:30 AM   #1
Pooh7
Huge Clucker
 
Pooh7's Avatar
 
Join Date: Aug 2010
Location: Serbia
Posts: 389
Reputation: 22
Default P-Messages [Random Messages system]



Basic Info
This is very simple Filterscript what shows random messages every 10 minuts. You can turn off messages when you want. Filterscript use ZCMD command processor, so you need ZCMD include (download link below).

How to install
Download the Filterscript from link below and put files in your filterscripts folder. Next, opet file server.cfg and in line filterscripts write PMessages. If you don't have ZCMD include, download it from link below and find folder pawno. In this folder you will find another folder with name includes. Put in it folder ZCMD files.

Usage
When you insert Filterscript the above instructions, open file PMessages.pwn and find line new PMessages[][]. Below that line you will find messages what will write to players. Them replace with your messages.
If you want to change showing interval (default 600s) find line SetTimer("Messages", 600000, true) and number 600000 replace with yours. 1000ms = 1s.

Commands

/pmessages - This command will turn off or turn on random messages. When you turn off, random messages will no shows. If you want to turn on againt, type same command.

/forcemessage - This command will force random message. So, when you type this command, server will show random message to all players.


Bugs
No bugs detected. If you detect any bug send PM to me or post in this thread.

Images


Download
PasteBin.com
SolidFiles.com
ZCMD

Credits
Pooh7 - P-Messages
ZeeX - ZCMD command processor

Pooh7 is offline   Reply With Quote
Old 29/10/2010, 12:37 PM   #2
Zh3r0
Godfather
 
Join Date: Mar 2008
Posts: 5,597
Reputation: 380
Default Re: P-Messages [Random Messages system]

Errrm,. you are using ZCMD for nothing... I don't see any parameters in there....
__________________
Zh3r0 is offline   Reply With Quote
Old 15/11/2010, 07:34 AM   #3
Bilawal2050
Big Clucker
 
Bilawal2050's Avatar
 
Join Date: Nov 2010
Posts: 83
Reputation: 0
Default Re: P-Messages [Random Messages system]

hello pooh7 i add this into my filter script but he asked me you dont have permission to use this and i am admin of my server
Bilawal2050 is offline   Reply With Quote
Old 15/11/2010, 07:51 AM   #4
Haydz
Gangsta
 
Haydz's Avatar
 
Join Date: Jul 2010
Location: New Zealand
Posts: 774
Reputation: 27
Default Re: P-Messages [Random Messages system]

Quote:
Originally Posted by Bilawal2050 View Post
hello pooh7 i add this into my filter script but he asked me you dont have permission to use this and i am admin of my server
You properly need to login to rcon, /rcon login password(whatever you set in server.cfg)
__________________


HostName: Pilot's Life
Address: 162.243.250.233:7777
Max Players: 100
Mode: Pilot's Life
Map: San Andreas
Website: thepilotslife.com
Forums: thepilotslife.com/forums
Haydz is offline   Reply With Quote
Old 15/11/2010, 07:52 AM   #5
X35B
Big Clucker
 
X35B's Avatar
 
Join Date: Oct 2010
Posts: 171
Reputation: 0
Default Re: P-Messages [Random Messages system]

/rcon login purpleyogurt xD
__________________
http://www.twodollarclick.com/index.php?ref=x35b

Mapping realistic airports for money, Contact me on saski17@yahoo.com.au for MSN

Prices:
Sloped - 6 Dollars
Small Airstrip With Parking Area - 2 Dollars
Big airport (A bit smaller then lv airport) - 10 Dollars
Medium Sized - 4 Dollars
Just runway - 50 Cents

Any other sorts of airports prices will be negotiated.
X35B is offline   Reply With Quote
Old 30/11/2010, 04:43 PM   #6
Pooh7
Huge Clucker
 
Pooh7's Avatar
 
Join Date: Aug 2010
Location: Serbia
Posts: 389
Reputation: 22
Default Re: P-Messages [Random Messages system]

Quote:
Originally Posted by Bilawal2050 View Post
hello pooh7 i add this into my filter script but he asked me you dont have permission to use this and i am admin of my server
You must to be rcon admin. Use /rcon login [your rcon password]
Pooh7 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] [FS] Random Messages Brian_G Filterscripts 17 23/01/2014 05:50 PM
Random messages Matej_ Help Archive 6 16/09/2010 10:26 AM
How Can i put random messages [SU]CHRiS Help Archive 8 03/02/2010 10:27 PM
random messages unique1801 Help Archive 8 29/10/2009 02:07 PM


All times are GMT. The time now is 05:56 AM.


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