Wysłany: 2012-02-22, 22:00
=MaD=
Wiek: 37 Na forum: 5304 dni Posty: 61
Nick w MP: FasoL
Piwa : 136
Witajcie. Ot?? mam taki problem i? gdy wgram tego texdrawa :
Kod: new Text:Textdraw;
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw);
return 1;
}
Textdraw = TextDrawCreate(218.000000, 0.000000, "Raz dwa czy xD");
TextDrawBackgroundColor(Textdraw, 0xFF0000FF); // Red
TextDrawFont(Textdraw, 1);
TextDrawLetterSize(Textdraw, 0.9, 2.999999);
TextDrawColor(Textdraw, -16776961);
TextDrawSetOutline(Textdraw, 1);
TextDrawSetProportional(Textdraw, 1);
return 1;
}
public OnGameModeExit()
{
TextDrawHideForAll(Textdraw);
TextDrawDestroy(Textdraw);
return 1;
}
Wyskakuje mi:
Space i tak dalej. Zamiast mojego tekstu Prosz? o pomoc :}
Wysłany: 2012-02-22, 22:21
DumpeR
Wiek: 30 Na forum: 5330 dni Posty: 171
Nick w MP: dumpeer
Piwa : 1026
Pawn
#include <a_samp>
new Text : Textdraw ;
public OnPlayerConnect ( playerid )
{
TextDrawShowForPlayer ( playerid , Textdraw );
return 1 ;
}
public OnFilterScriptInit ()
{
Textdraw = TextDrawCreate ( 218.000000 , 0.000000 , "Cos" );
TextDrawBackgroundColor ( Textdraw , 0xFF0000FF ); // Red
TextDrawFont ( Textdraw , 1 );
TextDrawLetterSize ( Textdraw , 0.9 , 2.999999 );
TextDrawColor ( Textdraw , - 1 );
TextDrawSetOutline ( Textdraw , 1 );
TextDrawSetProportional ( Textdraw , 1 );
return 1 ;
}
public OnFilterScriptExit ()
{
TextDrawHideForAll ( Textdraw );
TextDrawDestroy ( Textdraw );
return 1 ;
}
Wysłany: 2012-02-22, 22:36
=MaD=
Wiek: 37 Na forum: 5304 dni Posty: 61
Nick w MP: FasoL
Piwa : 136
W skrypcie mi dzia?a.. Ale w mapie nie
--------------------------------------------
Troch? pomy?la?em i wszystko ?adnie dzia?a nawet w mapce ;] DumpeR piffko
Wysłany: 2012-02-22, 22:52
Michalec
Dokładnie.
Wiek: 30 Na forum: 6405 dni Posty: 163
Nick w MP: []Damianos[]
Piwa : 99
Prawdopodobnie masz zdefiniowan? zmienn? Textdraw. Zamien Textdraw na inne i powinno byc dobrze.
Tagi: texdraw :: bug
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: