SA-MP Forums Archive
Logo - 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: Logo (/showthread.php?tid=301227)



Logo - RA.ONE - 03.12.2011

guys i need your help.

in my server logo was not showing . can any one help me

Код:
//-------------------logo-------------------------------------------------------
    // TextDraw developed using Zamaroht's Textdraw Editor 1.0

    // On top of script:
    new Text:Textdraw0;

    // In OnGameModeInit prefferably, we procced to create our textdraws:
    Textdraw0 = TextDrawCreate(466.000000, 315.000000, "New Generation");
    TextDrawBackgroundColor(Textdraw0, -1);
    TextDrawFont(Textdraw0, 0);
    TextDrawLetterSize(Textdraw0, 0.709999, 3.099998);
    TextDrawColor(Textdraw0, -16776961);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawShowForAll(Textdraw0);
I AM USING THIS CODE


Re: Logo - a_big - 03.12.2011

Код:
TextDrawShowForPlayer(playerid,Textdraw0);
on player connect


Re: Logo - RA.ONE - 03.12.2011

where i should put this one
Quote:

TextDrawShowForPlayer(playerid,Textdraw0);




Re: Logo - a_big - 03.12.2011

OnPlayerConnect


Re: Logo - RA.ONE - 03.12.2011

i add this code onplayerconnect

Quote:

TextDrawShowForPlayer(playerid,Textdraw0);

it showing error
Quote:

: error 017: undefined symbol "Textdraw0"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.