Код:
//Textdraw 1
Textdraw1 = TextDrawCreate(5.000000,426.000000," www.Nebulos.net");
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw1,1);
TextDrawLetterSize(Textdraw1,0.400000,1.200000);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawSetOutline(Textdraw1,1);
TextDrawSetProportional(Textdraw1,0);
TextDrawSetShadow(Textdraw1,6);
for(new i = 0; i < MAX_PLAYERS; i++)
{
txtK6ht[i] = TextDrawCreate(605.000000, 24.000000, "_");
TextDrawAlignment(txtK6ht[i], 3);
TextDrawBackgroundColor(txtK6ht[i], 255);
TextDrawFont(txtK6ht[i], 1);
TextDrawLetterSize(txtK6ht[i], 0.500000, 1.000000);
TextDrawColor(txtK6ht[i], -1);
TextDrawSetOutline(txtK6ht[i], 0);
TextDrawSetProportional(txtK6ht[i], 0);
TextDrawSetShadow(txtK6ht[i], 1);
Speed[i][ShowSpeed] = 1;
Speed[i][Speedom] = TextDrawCreate(530.000000,400.000000,"x)");
TextDrawTextSize(Speed[i][Speedom],625.000000,0.000000);
TextDrawAlignment(Speed[i][Speedom],0);
TextDrawBackgroundColor(Speed[i][Speedom],0x000000FF);
TextDrawFont(Speed[i][Speedom],2);
TextDrawLetterSize(Speed[i][Speedom],0.25,1.0);
TextDrawColor(Speed[i][Speedom],0xFFFFFFFF);
TextDrawSetOutline(Speed[i][Speedom],1);
TextDrawSetProportional(Speed[i][Speedom],0);
TextDrawSetShadow(Speed[i][Speedom],1);
SetTimerEx("Speedometer",500,true,"i",i);
}
Sorry about double, but i remover the Streamer. The textdraws went OK.
But server will crash.
[23:53:35] The server has been crashed by TextDrawCreate at address 0xadb80 in gamemodes/....
[17:30:44] The server has been crashed by TextDrawCreate at address 0xb0ea8 in gamemodes/Roleplay.amx