Need help last one
#1

im making a simple announce with timer like auto message, same problem forgot to do how to
Reply
#2

pawn Код:
new Announce[][] =
{
    "testmsg1",
    "testmsg2" 
};

// Will be at OnGameModeInit/OnFilterScriptInit
SetTimer("AnnMessage",60000,1); //60 seconds timer

// Place it anywhere
forward AnnMessage(playerid);
public AnnMessage(playerid)
{
        SendClientMessageToAll(-1, Announce[random(sizeof(Announce))]);
        return true;
}
Reply
#3

error
Reply
#4

https://sampwiki.blast.hk/wiki/Random_Messages
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)