[Ajuda] Cуdigo correto?
#1

Top GM
pawn Код:
//topGM
new Text:THUGMSG;
new THUGMSGR[][] = {
    "TheHateUGave A/D",
    "Visit us in",
    "www.TheHateUGave.com"
};

//OnGameModdeInit

    RandomSiteMSG();
    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);

// New public

forward RandomSiteMSG();
public RandomSiteMSG()
{
    new s@Msg[128];
    format(s@Msg, 128, "~w~ %s", THUGMSGR[random(sizeof(THUGMSGR))]);
    TextDrawSetString(THUGMSG, s@Msg);
    return SetTimer("RandomSiteMSG", 40000, false);
}
ps: postei isto pq o cуdigo tipo muda as frases mas nгo й tipo de seguida que й como eu quero e tambem as farses nгo ficam 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: 1 Guest(s)