Jump to content

Question

Posted

fac un textdraw cu un program

dupa ce adaug textdrawl in gm merge perfect fara warn/errori

iar cand intru in server numi apare nimik

[pawn]new Text:Welcome;

Welcome = TextDrawCreate(0.0, 434.0,"Welcome to Rss");

TextDrawFont(Welcome,0);

TextDrawLetterSize(Welcome,1,1);

TextDrawColor(Welcome,0xC700FF);

TextDrawSetShadow(Welcome,0);

TextDrawSetOutline(Welcome,2);

TextDrawBackgroundColor(Welcome,0xDDF10FF);

TextDrawUseBox(Welcome,0);[/pawn]

ce are?

Massari e curva mea

11 answers to this question

Recommended Posts

Posted

Imi Da eroarea asta[pawn]D:\Dorin\Samp.svr\gamemodes\Rimo.pwn(1957) : error 017: undefined symbol "Welcome"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.[/pawn]

Massari e curva mea

Posted

Tu esti cel mai but scripter din lume.

La inceputul scriptului pui:

[pawn]new Text:Welcome;[/pawn]

La OnGameModeInit:

[pawn]Welcome = TextDrawCreate( 0.0, 434.0,"Welcome to Rss" );

TextDrawFont( Welcome,0 );

TextDrawLetterSize( Welcome,1,1 );

TextDrawColor( Welcome,0xC700FF );

TextDrawSetShadow( Welcome,0 );

TextDrawSetOutline( Welcome,2 );

TextDrawBackgroundColor( Welcome,0xDDF10FF );

TextDrawUseBox( Welcome,0 );[/pawn]

La OnPlayerConnect:

[pawn]TextDrawShowForPlayer( playerid, Welcome );[/pawn]

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.