22.03.2009, 19:57
Hi,
I'm using a version of the News Ticker FS, but added it into my GameMode, It's working fine but, I'm wanting to know how would i make it pull the messages from a file for example.
File is called 'newsmsgs.req' And in the file it is like this:
Below is the part of code that goes at the top of my GM and where the messages are stored:
I'm thinking i would need to alter that code to make it pull from a file but I don't have the slightest clue on how to do that.
Has anyone got any ideas on how I could do this?
Thanks,
Ashley
I'm using a version of the News Ticker FS, but added it into my GameMode, It's working fine but, I'm wanting to know how would i make it pull the messages from a file for example.
File is called 'newsmsgs.req' And in the file it is like this:
Код:
Message One Message Two Message Three
pawn Код:
forward Nupdate ();
new Ntimer;
new Text:Ntick;
new news[][] =
{
"message_three", "message_two"
};
Has anyone got any ideas on how I could do this?
Thanks,
Ashley
