SA-MP Forums Archive
textdraw wont work - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: textdraw wont work (/showthread.php?tid=184529)



textdraw wont work - dark_clown - 20.10.2010

why dosnt this work?
Код:
public OnPlayerConnect(playerid)
{
    website = TextDrawCreate(460.0,150.0,"test");
    TextDrawShowForPlayer(playerid,website);
    TextDrawTextSize(website, 7.0, 4.6);
    TextDrawUseBox(website , 1);
    TextDrawFont(website , 1);
    TextDrawLetterSize(website ,0.3,1);
    TextDrawSetShadow(website ,1);
    TextDrawSetOutline(website ,1);
    TextDrawBackgroundColor(website ,0x000000FF);
    TextDrawBoxColor(website ,0x00000066);
    TextDrawColor(website ,0x000000FF);
    TextDrawTextSize(website , 200.0, 200.0);
    return 1;
}
it only appears in white
no box no nothing



Re: textdraw wont work - Sascha - 20.10.2010

write the "TextDrawShowForPlayer" at the end


Re: textdraw wont work - SkizzoTrick - 20.10.2010

Yeah,try to put the TextDrawShowForPlayer in the end