pawn Код:
//topGM
new Text:THUGMSG;
new pMsgAtual = -1;
new THUGMSGR[][] = {
"TheHateUGave A/D",
"Visit us in",
"www.TheHateUGave.com"
};
//OnGameModdeInit
THUGMSG = TextDrawCreate(16.000000, 328.000000, THUGMSGR[0]);
TextDrawBackgroundColor(THUGMSG, 255);
TextDrawFont(THUGMSG, 1);
TextDrawLetterSize(THUGMSG, 0.469999, 1.000000);
TextDrawColor(THUGMSG, 6553855);
TextDrawSetOutline(THUGMSG, 1);
TextDrawSetProportional(THUGMSG, 1);
RandomSiteMSG();
// New public
forward RandomSiteMSG();
public RandomSiteMSG()
{
new s@Msg[128];
format(s@Msg, 128, "~w~ %s", THUGMSGR[(++pMsgAtual == sizeof(THUGMSGR) ? (pMsgAtual = 0) : (pMsgAtual))]);
TextDrawSetString(THUGMSG, s@Msg);
return SetTimer("RandomSiteMSG", 40000, false);
}