[FilterScript] [FS] News 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] [FS] News System (
/showthread.php?tid=51374)
[FS] News System -
Nibblet - 20.09.2008
Yeah, I gave it a try again at scripting, I always scripted on my Own and Friends gamemode but i was bored, and i just started to make something like this.
Well here it is, a Simple News Ticker.
Screenshot:
Well, This is what i made today, A news ticker, a Fresh start with a Simple script.
Not many people will ask for this but still, I like the Idea
The name used in this project was Nysteri, Because thats my Gamer name!.
To install: Add NewsTick.pwn and NewsTick.amx in your Filterscripts Folder, Then Add
"filterscripts NewsTick" To your server.cfg
<Q> How many lines Does it has?
<A> Well actually its 84 lines, But if we don't Count the spaces and Stuff it will be around 70/71
<Q> Can i mirror this?
<A> Sure you can!, Why not :P
<Q> Can i Place this code in my Game Mode?
<A> Sure you can, Aslong as you give Proper Credits ofcourse!
>
Nero_3D - Helping me to Go Thru the News list
>
The SA:MP Dev Team - For this great game!
Rapidshare - NewsTick.pwn & NewsTick.amx
filefront - NewsTick.pwn & NewsTick.amx
sendspace - NewsTick.pwn & NewsTick.amx
Pastebin - NewsTick.pwn Only!
Re: [FS] News System -
Rks25 - 20.09.2008
pastebin link please.
Re: [FS] News System -
Nibblet - 20.09.2008
Pastebin Link added
Re: [FS] News System -
Toad - 20.09.2008
will show the news unlimited because u always added TextDrawShowForPlayer
Re: [FS] News System -
Zezombia - 20.09.2008
This isn't really a filterscript, just a basic example of textdraw.
Re: [FS] News System -
Donvalley - 21.09.2008
How Do I Change How Fast The Textdraw Changes??
Re: [FS] News System -
Nibblet - 24.09.2008
At OnFilterScriptInit theres a SetTimer("NewsTick",time,1); change the "time" From 5000 to any other number
WARNING: This are Milli Seconds!
Re: [FS] News System -
Brandon_Brown - 24.09.2008
Nice work, I would have it but I like the current one I got in!
Re: [FS] News System -
Berry - 22.10.2008
whats worng -_-
pawn Код:
C:\DOCUME~1\EXOHOS~1\Desktop\KOLSER~1\KOLFRE~1\FILTER~1\News.pwn(14) : error 001: expected token: "}", but found ")"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Re: [FS] News System -
MenaceX^ - 22.10.2008
Quote:
Originally Posted by Berry
whats worng -_-
pawn Код:
C:\DOCUME~1\EXOHOS~1\Desktop\KOLSER~1\KOLFRE~1\FILTER~1\News.pwn(14) : error 001: expected token: "}", but found ")" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
|
Show me line 14.
Quote:
Originally Posted by Nibblet
At OnFilterScriptInit theres a SetTimer("NewsTick",time,1); change the "time" From 5000 to any other number
WARNING: This are Milli Seconds!
|
This are mili seconds?..
Nice english m8
Re: [FS] News System -
ICECOLDKILLAK8 - 22.10.2008
Quote:
Originally Posted by Berry
whats worng -_-
pawn Код:
C:\DOCUME~1\EXOHOS~1\Desktop\KOLSER~1\KOLFRE~1\FILTER~1\News.pwn(14) : error 001: expected token: "}", but found ")" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
|
'
You have put a normal bracket insted of an indented bracket. do a bracket like this } not like this )
Re: [FS] News System -
Nibblet - 22.10.2008
I see that u Edited Some of the News lines, and Added new ones!
it should look like this
Код:
new news[][] =
{
"News_Line_1", "News_Line_2", "News_Line_3", "News_Line_4" etc etc
};
Do not add a , after the Last news Line!
PS: sorry for my english. Im dutch and were kinda sleepy when i typed it xD
Re: [FS] News System -
DauerDicht - 18.01.2009
n1 but how can i make it with color?
Re: [FS] News System -
hamptonin - 18.01.2009
Quote:
Originally Posted by Zezombia
This isn't really a filterscript, just a basic example of textdraw.
|
No this is a Filterscript
Good man
Re: [FS] News System -
AlExAlExAlEx - 18.01.2009
What this actually does ?
Re: [FS] News System -
Austin_Lynn - 13.03.2009
Nice
Re: [FS] News System -
kokkie20 - 13.03.2009
gonna use this one, instead of SendClientMessageToAll (or something like that :P)
Re: [FS] News System -
dwd93 - 07.04.2009
How do i change it?
i mean that will apear the things i want like
i like chips and ect?
And not new line , new line 2 and ect?
Re: [FS] News System -
Nibblet - 07.04.2009
if i get your point, you should just change the default texts and use thoose to send
Re: [FS] News System -
dwd93 - 08.04.2009
Quote:
Originally Posted by Nibblet
if i get your point, you should just change the default texts and use thoose to send
|
Change where?
In what txt?