Skripta koju koristim: Edit FactionGame-a.
Detaljan opis problema: Nešto me zeza. TextDraw tj. random messages koje stavim u GM, ili stavim kao FS, pojavi mi se crnilo u gornjem uglu, pokrije mi cijeli ugao, ne dođe ni do pola ekrana, tj. slike, i crno mi je, a donji ugao je dobar. Piše textdraw taj i taj, ali gore mi crno. :S
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
[POMOĆ] Crnilo
767
pregleda
7
postova
23. Maj 2011.
Probaću pa javim, i editaću s kodovima ako ne bude moglo.
EDIT: Neće.
TextDrawovi:
OnGameModeInit
public OnGameModeInit()
{
SetTimer("RandomMessage",10000,1);
ShadowsRandom = TextDrawCreate(4.000000,435.000000,"Dobrodosli na GoldRush Rol3Play!");
TextDrawAlignment(ShadowsRandom,0);
TextDrawBackgroundColor(ShadowsRandom,0x000000ff);
TextDrawFont(ShadowsRandom,1);
TextDrawLetterSize(ShadowsRandom,0.299999,0.899999);
TextDrawColor(ShadowsRandom,0x33AA33AA);
TextDrawSetOutline(ShadowsRandom,1);
TextDrawSetProportional(ShadowsRandom,1);
TextDrawSetShadow(ShadowsRandom,1);
RealClock = TextDrawCreate(547.000000,22.000000," ");
TextDrawAlignment(RealClock,0);
TextDrawBackgroundColor(RealClock,0x00ffff33);
TextDrawFont(RealClock,1);
TextDrawLetterSize(RealClock,0.599999,2.299999);
TextDrawColor(RealClock,0x000000ff);
TextDrawSetOutline(RealClock,1);
TextDrawSetProportional(RealClock,1);
TextDrawSetShadow(RealClock,6);
Timer = SetTimer("UpdateClock",300,1);
//poruke
SetTimer("RandomMessage",10000,1);
poruke = TextDrawCreate(127.000000,406.000000,"Srdacan pozdrav od SLOU Teama!");
TextDrawAlignment(poruke,0);
TextDrawBackgroundColor(poruke,0x00ffff33);
TextDrawFont(poruke,1);
TextDrawLetterSize(poruke,0.299999,1.300000);
TextDrawColor(poruke,0x000000ff);
TextDrawSetOutline(poruke,1);
TextDrawSetProportional(poruke,1);
TextDrawSetShadow(poruke,6);
New
new Text😛oruke;
new Text:ServerPoruke;
new Text:ShadowsRandom;
forward RandomMessage();
new Text:Crno;
new RandomMessages[][] =
{
"~y~SLOURP ~w~textdraw",
"~y~SLOURP ~w~textdraw2",
"~y~SLOURP ~w~textdraw3",
"~y~SLOURP ~w~td4.",
"~y~SLOURP ~w~td5",
"~y~SLOURP ~w~td6",
"~y~SLOURP ~w~td7",
"~y~SLOURP ~w~td8"
};
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Crno);
TextDrawShowForPlayer(playerid, ShadowsRandom);
TextDrawShowForPlayer(playerid, Poruke);
Dole ima još, pa ne stavljam return1; ili return0;
OnPlayerDisconnect
TextDrawDestroy(ShadowsRandom, playerid);
TextDrawDestroy(poruke, playerid);
TextDrawDestroy(Crno, playerid);
EDIT: Neće.
TextDrawovi:
OnGameModeInit
public OnGameModeInit()
{
SetTimer("RandomMessage",10000,1);
ShadowsRandom = TextDrawCreate(4.000000,435.000000,"Dobrodosli na GoldRush Rol3Play!");
TextDrawAlignment(ShadowsRandom,0);
TextDrawBackgroundColor(ShadowsRandom,0x000000ff);
TextDrawFont(ShadowsRandom,1);
TextDrawLetterSize(ShadowsRandom,0.299999,0.899999);
TextDrawColor(ShadowsRandom,0x33AA33AA);
TextDrawSetOutline(ShadowsRandom,1);
TextDrawSetProportional(ShadowsRandom,1);
TextDrawSetShadow(ShadowsRandom,1);
RealClock = TextDrawCreate(547.000000,22.000000," ");
TextDrawAlignment(RealClock,0);
TextDrawBackgroundColor(RealClock,0x00ffff33);
TextDrawFont(RealClock,1);
TextDrawLetterSize(RealClock,0.599999,2.299999);
TextDrawColor(RealClock,0x000000ff);
TextDrawSetOutline(RealClock,1);
TextDrawSetProportional(RealClock,1);
TextDrawSetShadow(RealClock,6);
Timer = SetTimer("UpdateClock",300,1);
//poruke
SetTimer("RandomMessage",10000,1);
poruke = TextDrawCreate(127.000000,406.000000,"Srdacan pozdrav od SLOU Teama!");
TextDrawAlignment(poruke,0);
TextDrawBackgroundColor(poruke,0x00ffff33);
TextDrawFont(poruke,1);
TextDrawLetterSize(poruke,0.299999,1.300000);
TextDrawColor(poruke,0x000000ff);
TextDrawSetOutline(poruke,1);
TextDrawSetProportional(poruke,1);
TextDrawSetShadow(poruke,6);
New
new Text😛oruke;
new Text:ServerPoruke;
new Text:ShadowsRandom;
forward RandomMessage();
new Text:Crno;
new RandomMessages[][] =
{
"~y~SLOURP ~w~textdraw",
"~y~SLOURP ~w~textdraw2",
"~y~SLOURP ~w~textdraw3",
"~y~SLOURP ~w~td4.",
"~y~SLOURP ~w~td5",
"~y~SLOURP ~w~td6",
"~y~SLOURP ~w~td7",
"~y~SLOURP ~w~td8"
};
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Crno);
TextDrawShowForPlayer(playerid, ShadowsRandom);
TextDrawShowForPlayer(playerid, Poruke);
Dole ima još, pa ne stavljam return1; ili return0;
OnPlayerDisconnect
TextDrawDestroy(ShadowsRandom, playerid);
TextDrawDestroy(poruke, playerid);
TextDrawDestroy(Crno, playerid);
Godfather
Novi Član
240 / 250 XP
🌱Početnik(0)
2,079
Postovi:
24
Teme:
Pridružio se:Feb. 2011
23. Maj 2011.
Zasto ti sluzi ovo Crno ??
i psotaj taj textdraw.
TextDrawDestroy(Crno, playerid);
TextDrawShowForPlayer(playerid, Crno); i psotaj taj textdraw.
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava