[Ajuda] Cуdigo correto?
#3

Quote:
Originally Posted by paulor
Посмотреть сообщение
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);
}
Nгo fica com as cores
Reply


Messages In This Thread
Cуdigo correto? - by VeNuZ_ - 08.04.2013, 17:16
Re: Cуdigo correto? - by paulor - 08.04.2013, 17:54
Re: Cуdigo correto? - by VeNuZ_ - 08.04.2013, 18:20
Re: Cуdigo correto? - by paulor - 08.04.2013, 18:37
Re: Cуdigo correto? - by feliphemort - 08.04.2013, 18:50
Re: Cуdigo correto? - by VeNuZ_ - 08.04.2013, 19:32

Forum Jump:


Users browsing this thread: 2 Guest(s)