Opis problema: Napravio sam textdraw i sve radi i stavio sam da se prikazuje kad se neko registrira na server i prikazuje se al sad imam problem,svi textdrawowi koje sam stavio da se prikazuju prikazuju se svi odjednom tj jedan se prikaze a onda se ovaj drugi ne izbrise moze mi neko reci kako da to rijesim?
Dio skripte: Ovako sam stavio
if(TutTime >= 1)
{
TutTime += 1;
if(TutTime == 3)
{
TextDrawShowForPlayer(i,Intro0);
TextDrawShowForPlayer(i,Intro1);
ClearChatbox(i, 10);
}
else if(TutTime == 8)
{
TextDrawShowForPlayer(i,Intro2);
TextDrawShowForPlayer(i,Intro3);
TextDrawShowForPlayer(i,Intro4);
TextDrawShowForPlayer(i,Intro5);
}
else if(TutTime == 9)
{
TextDrawShowForPlayer(i,Intro6);
TextDrawShowForPlayer(i,Intro7);
TextDrawShowForPlayer(i,Intro8);
TextDrawShowForPlayer(i,Intro9)
TextDrawShowForPlayer(i,Intro10)
TextDrawShowForPlayer(i,Intro11)
TextDrawShowForPlayer(i,Intro12)
}
else if(TutTime == 13)
{
ClearChatbox(i, 10);
TextDrawShowForPlayer(i,Intro13);
TextDrawShowForPlayer(i,Intro14);
TextDrawShowForPlayer(i,Intro15);
TextDrawShowForPlayer(i,Intro16)
TextDrawShowForPlayer(i,Intro17)
TextDrawShowForPlayer(i,Intro18)
TextDrawShowForPlayer(i,Intro19)
TextDrawShowForPlayer(i,Intro20)
ClearChatbox(i, 2);
}
else if(TutTime == 14)
{
TextDrawShowForPlayer(i,Intro21);
TextDrawShowForPlayer(i,Intro22);
}
else if(TutTime == 26)
{
ClearChatbox(i, 21);
SetPlayerPos(i, 1763.9366,-1343.7981,15.7543);
SetPlayerCameraPos(i, 1785.3828,-1347.9843,28.9038);
SetPlayerCameraLookAt(i, 1760.3590,-1350.0177,18.2567);
SetPlayerInterior(i, 0);
TextDrawHideForPlayer(i,Intro7),TextDrawHideForPlayer(i,Intro0), TextDrawHideForPlayer(i,Intro1), TextDrawHideForPlayer(i,Intro2), TextDrawHideForPlayer(i,Intro3), TextDrawHideForPlayer(i, Intro4), TextDrawHideForPlayer(i,Intro5),
TextDrawHideForPlayer(i,Intro6), TextDrawHideForPlayer(i,Intro7), TextDrawHideForPlayer(i,Intro8), TextDrawHideForPlayer(i,Intro9), TextDrawHideForPlayer(i,Intro10), TextDrawHideForPlayer(i,Intro11),
TextDrawHideForPlayer(i,Intro12), TextDrawHideForPlayer(i,Intro13), TextDrawHideForPlayer(i,Intro14), TextDrawHideForPlayer(i,Intro15), TextDrawHideForPlayer(i,Intro16), TextDrawHideForPlayer(i,Intro17), TextDrawHideForPlayer(i,Intro18),
TextDrawHideForPlayer(i,Intro19), TextDrawHideForPlayer(i,Intro20), TextDrawHideForPlayer(i,Intro21), TextDrawHideForPlayer(i,Intro22);
SendClientMessage(i, COLOR_WHITE, "Nick mora biti u obliku Ime_Prezime i naravno mora biti realno!");
SendClientMessage(i, SVETLOPLAVA, "Primjer: {FFFFFF}Ivo_Ivic!");
SendClientMessage(i, COLOR_WHITE, "Nesmijete uzimati imena slavnih licnosti!");
ClearChatbox(i, 2);
}Slika/Video: //
