22.02.2010, 08:51
public Website()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
//TextDrawDestroy(Site[i]);
Site[i] = TextDrawCreate(120.000,425.000,"http://blablabla.com");
TextDrawColor(Site[i],COLOR_WHITE);
TextDrawLetterSize(Site[i], 0.5, 1.5);
TextDrawFont(Site[i], 3);
TextDrawBackgroundColor(Site[i], 0x000000AA);
TextDrawSetOutline(Site[i], 2);
TextDrawShowForPlayer(i, Site[i]);
}
return true;
}
//Ongamemodeinit
SetTimer("Website", 1000, true);
The txtdraw dont show...
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
//TextDrawDestroy(Site[i]);
Site[i] = TextDrawCreate(120.000,425.000,"http://blablabla.com");
TextDrawColor(Site[i],COLOR_WHITE);
TextDrawLetterSize(Site[i], 0.5, 1.5);
TextDrawFont(Site[i], 3);
TextDrawBackgroundColor(Site[i], 0x000000AA);
TextDrawSetOutline(Site[i], 2);
TextDrawShowForPlayer(i, Site[i]);
}
return true;
}
//Ongamemodeinit
SetTimer("Website", 1000, true);
The txtdraw dont show...