12.05.2010, 18:36
Hi mans...now i have a problem
look..i've made a textdraw tutorial and it's works but only for me..
I'm using the GF GM and look..the problem i thinks is the DestroyTextDraw...becouse i can view the tutorial but other persons no :S anyone see the problem?
look..i've made a textdraw tutorial and it's works but only for me..I'm using the GF GM and look..the problem i thinks is the DestroyTextDraw...becouse i can view the tutorial but other persons no :S anyone see the problem?
Code:
if(TutTime[i] == 3)
{
TextDrawShowForPlayer(i,TextDrawTuto1);
}
else if(TutTime[i] == 14)
{
TextDrawDestroy(TextDrawTuto1);
TextDrawShowForPlayer(i,TextDrawTuto2);
TextDrawShowForPlayer(i,TextDrawTuto3);
TextDrawShowForPlayer(i,TextDrawTuto4);
TextDrawShowForPlayer(i,TextDrawTuto5);
}
else if(TutTime[i] == 20)
{
TextDrawDestroy(TextDrawTuto2);
TextDrawDestroy(TextDrawTuto3);
TextDrawDestroy(TextDrawTuto4);
TextDrawDestroy(TextDrawTuto5);
TextDrawShowForPlayer(i,TextDrawTuto6);
TextDrawShowForPlayer(i,TextDrawTuto7);
TextDrawShowForPlayer(i,TextDrawTuto8);
}
else if(TutTime[i] == 30)
{
TextDrawDestroy(TextDrawTuto6);
TextDrawDestroy(TextDrawTuto7);
TextDrawDestroy(TextDrawTuto8);
TextDrawShowForPlayer(i,TextDrawTuto9);
TextDrawShowForPlayer(i,TextDrawTuto10);
TextDrawShowForPlayer(i,TextDrawTuto11);
TextDrawShowForPlayer(i,TextDrawTuto12);
TextDrawShowForPlayer(i,TextDrawTuto13);
}
else if(TutTime[i] == 40)
{
TextDrawDestroy(TextDrawTuto9);
TextDrawDestroy(TextDrawTuto10);
TextDrawDestroy(TextDrawTuto11);
TextDrawDestroy(TextDrawTuto12);
TextDrawDestroy(TextDrawTuto13);
TextDrawShowForPlayer(i,TextDrawTuto14);
TextDrawShowForPlayer(i,TextDrawTuto15);
TextDrawShowForPlayer(i,TextDrawTuto16);
}
else if(TutTime[i] == 50)
{
TextDrawDestroy(TextDrawTuto14);
TextDrawDestroy(TextDrawTuto15);
TextDrawDestroy(TextDrawTuto16);
TextDrawShowForPlayer(i,TextDrawTuto17);
TextDrawShowForPlayer(i,TextDrawTuto18);
}
else if(TutTime[i] == 60)
{
TextDrawDestroy(TextDrawTuto17);
TextDrawDestroy(TextDrawTuto18);
TextDrawShowForPlayer(i,TextDrawTuto19);
TextDrawShowForPlayer(i,TextDrawTuto20);
}
else if(TutTime[i] == 70)
{
TextDrawDestroy(TextDrawTuto19);
TextDrawDestroy(TextDrawTuto20);
TextDrawShowForPlayer(i,TextDrawTuto21);
TextDrawShowForPlayer(i,TextDrawTuto22);
TextDrawShowForPlayer(i,TextDrawTuto24);
TextDrawShowForPlayer(i,TextDrawTuto23);
}
else if(TutTime[i] == 80)
{
TextDrawDestroy(TextDrawTuto21);
TextDrawDestroy(TextDrawTuto22);
TextDrawDestroy(TextDrawTuto24);
TextDrawDestroy(TextDrawTuto23);
TextDrawShowForPlayer(i,TextDrawTuto25);
}
else if(TutTime[i] == 90)
{
TextDrawDestroy(TextDrawTuto25);
SetPlayerPos(i,1642.8232,-2332.6367,13.5469);
SetPlayerFacingAngle(i,353.0326);
SetPlayerInterior(i,0);
PlayerInfo[i][pInt] = 0;
SetCameraBehindPlayer(i);
TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0;
TogglePlayerControllable(i, 1);
MedicBill[i] = 0;
SetPlayerSpawn(i);
}
}


i'll try that,very thanks