Textdraw
#1

Hey i made my textdraw it works but how to change the text of it i mean to switch string like: United Roleplay: Message1 and after sometime United Roleplay: Message2 i tryed using this:
pawn Код:
forward Poruke(playerid);
public Poruke(playerid)
{
    new string[128], string3[128];
    format(string, sizeof(string), "Potrebna vam pomoc, nema Admina online? Uvek mozete postaviti pitanje na /n(novi).");
    format(string3, sizeof(string), "Vidite citera, prijavite ga na /report.");
    TextDrawSetString(Text:TextDraw0, string);
    return 1;
}
But then i figured out that it wont change any messages my textdraw code:
pawn Код:
Textdraw0 = TextDrawCreate(6.000000, 436.000000, "United Roleplay:");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -65281);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 45);
TextDrawTextSize(Textdraw0, 627.000000, 1.000000);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)