SA-MP Forums Archive
Client crash (textdraws) - 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)
+--- Thread: Client crash (textdraws) (/showthread.php?tid=450046)



Client crash (textdraws) - martoivanov - 11.07.2013

Here is my code
pawn Код:
title=TextDrawCreate(420,134,"sth");
    TextDrawAlignment(title, 2);
    TextDrawColor(title,0xFFCC66FF);
    TextDrawSetOutline(title, 1);
    TextDrawFont(title, 0);
    TextDrawLetterSize(title, 1, 1);
    box=TextDrawCreate(414,120,"~n~n~");
    TextDrawBoxColor(box,0x000000AA);
    TextDrawUseBox(box, 1);
    cmds=TextDrawCreate(460,174,"{375FFF}/cmds {FFFFFF}- FOR COMMANDS");
    TextDrawAlignment(cmds, 2);
    TextDrawSetOutline(cmds, 1);
    TextDrawFont(cmds, 2);
    TextDrawLetterSize(cmds, 0.7, 0.7);
When i enter the server it crashes. How can I fix this?

Thanks in advance!