Random message -
Ananisiki - 21.04.2014
So, i have this in my server (or something like this i cant remember)
https://sampforum.blast.hk/showthread.php?tid=327709
but 3 textdraws instead of one,, i got like this (bottom of the screen)
Want new weapons? type /guns // Textdraw 2
Seen a hacker? type /report id (reason) // Textdraw 1
Welcome to the server, visit our website on "WEBSITE" // Textdraw 0
i have much more messages (it updates every 5 seconds or so)
what i want to do is, if a new message come, example: We need admins, please apply on forums
then it will be like this
Seen a hacker? type /report id (reason) // Textdraw 2
Welcome to the server, visit our website on "WEBSITE" // Textdraw 1
We need admins, please apply on forums // Textdraw 0
notice how this Want new weapons? type /guns // Textdraw 2 line got removed, each message, the textdraw will move up, how i do this?
Re: Random message -
SkittlesAreFalling - 21.04.2014
https://sampwiki.blast.hk/wiki/TextDrawSetString
TextDrawSetString(TextDrawID, "This is a string");
Instead of 5 different TextDraws you can use 1.
Re: Random message -
Ananisiki - 21.04.2014
I know about the textdrawsetstring, but how can i make it roll up after each new message?
Re: Random message -
SkittlesAreFalling - 21.04.2014
TextDraw1: "Hello world!"
TextDraw2: "What's up?"
TextDraw3: "SkittlesAreFalling is awesome!"
Set Variable1[100] to Variable2, set Textdraw1 to Variable1.
Set Variable2[100] to Variable3, set Textdraw2 to Variable2.
Set Variable3[100] to NewMessage, set Textdraw3 to Variable3.
Re: Random message -
Ananisiki - 21.04.2014
Dont understand,, i have like this
pawn Код:
new RandomMessages[][] =
{
"message3"
};
new RandomMessages1[][] =
{
"message 2"
};
new RandomMessages2[][] =
{
"message"
};