Jump to content
  • 0

Textdraw


mura

Question

Vreau sa pun si eu in coltz jos un textdraw, dar nu functioneaza.Am pus asa:

new Text:Textdraw1; <- sus

In OnGameModeInit

Textdraw1 = TextDrawCreate(479.5 ,445.5 , "PlayMania");

TextDrawFont(Textdraw1 , 0);

TextDrawLetterSize(Textdraw1 , 1, 7);

TextDrawColor(Textdraw1 , 0xffee00FF);

TextDrawSetOutline(Textdraw1 , true);

TextDrawSetProportional(Textdraw1 , true);

TextDrawSetShadow(Textdraw1 , 1);

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

unde ai NEW pui

new Text:Textdraw1;
Ongamemodeinit
Textdraw1 = TextDrawCreate(479.5 ,445.5 , "PlayMania");
TextDrawFont(Textdraw1 , 0);
TextDrawLetterSize(Textdraw1 , 1, 7);
TextDrawColor(Textdraw1 , 0xffee00FF);
TextDrawSetOutline(Textdraw1 , true);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);
OnGameModeExit
	TextDrawHideForAll(Textdraw1);
	TextDrawDestroy(Textdraw1);
OnPlayerConnect
TextDrawShowForPlayer(playerid, Textdraw1);

468833_437698_362328_hiphop.jpg
Link to comment
Share on other sites

sus -> new Text:Textdraw1;

la OnGameModeInit()

    Textdraw1 = TextDrawCreate(479.5 ,445.5 , "PlayMania");

    TextDrawFont(Textdraw1 , 0);

    TextDrawLetterSize(Textdraw1 , 1, 7);

    TextDrawColor(Textdraw1 , 0xffee00FF);

    TextDrawSetOutline(Textdraw1 , true);

    TextDrawSetProportional(Textdraw1 , true);

    TextDrawSetShadow(Textdraw1 , 1);

la

OnGameModeExit()

TextDrawHideForAll(Textdraw1);

TextDrawDestroy(Textdraw1);

si la

OnPlayerConnect(playerid)

    TextDrawShowForPlayer(playerid,Textdraw1);

..nu apare nimic :|

Link to comment
Share on other sites

    Textdraw1 = TextDrawCreate(479.5 ,445.5 , "PlayMania");
    TextDrawFont(Textdraw1 , 0);
    TextDrawLetterSize(Textdraw1 , 1, 7);
    TextDrawColor(Textdraw1 , 0xffee00FF);
    TextDrawSetOutline(Textdraw1 , true);
    TextDrawSetProportional(Textdraw1 , true);
    TextDrawSetShadow(Textdraw1 , 1);

Nu e bun textdraw

fa si tu cu FS asta

http://forum.sa-mp.com/showthread.php?t=117851

468833_437698_362328_hiphop.jpg
Link to comment
Share on other sites

deci sa-ti explic eu(daca intelegi daca nu...)

1.Iei TextDrawu din scriptfiles...

2.Il pui la OnGameModeInit()

3.pui sus sus in GM unde ai si celalte(daca ai) Text: sau TextDraw: asta: new TextDraw1;

4.Mergi la OnPlayerConnect( playerid ) sau la OnPlayerSpawn( playerid ) asta: TextDrawShowForPlayer( playerid, TextDraw1 );

5.daca nu intelegi...n-am ce sa iti fac...

Fara reclama in semnatura!

Link to comment
Share on other sites

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.