Help textdraw
#1

Hi guys, i made a textdraw in pleomax editor on a 0.3e server and after i putted into my gamemode who runs 0.3z, and it's not showing.
Why?
My textdraw is :
Код HTML:
Textdraw0 = TextDrawCreate(487.199890, 426.346679, "Roleplay");
    TextDrawLetterSize(Textdraw0, 0.335598, 1.697066);
    TextDrawAlignment(Textdraw0, 1);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetShadow(Textdraw0, 0);
    TextDrawSetOutline(Textdraw0, 0);
    TextDrawBackgroundColor(Textdraw0, 51);
    TextDrawFont(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
All is compiling fine and i putted at top new etc..
Reply
#2

Under OnPlayerConnect, put:
pawn Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
return 1;
}
Or - put it at other callback - which you prefer.
Reply
#3

Thank you very very much! +1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)