announcements
#1

hey guys how do i make a timer that ever 3 minutes it makes an announcement? plz give me the coding ) thnx
Reply
#2

Here you go: http://forum.sa-mp.com/index.php?topic=38096.0
Next time try to search.
Reply
#3

lol cool, but i want to make the announcements announce the "announcements" randomly, not in order?
Reply
#4

Try this:

pawn Код:
#include <a_samp>

new Announcements[][] =
{
    "Piss off",
    "Get lost!!!",
    "lol"
};

forward Announce();

public OnFilterScriptInit()
{
    SetTimer("Announce", 180000, 1);
    return 1;
}

public Announce()
{
    GameTextForAll(Announcements[random(sizeof(Announcements))], 5000, 3);
}
Reply
#5

OR Check my sig. It's probably the most simplest one around.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)