SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 12/01/2020, 02:49 PM   #1
VandZone
Little Clucker
 
Join Date: Jan 2020
Posts: 12
Reputation: 0
Default NEED HELP! I HAVE THIS PROBLEM

Hi, I have this error and I don't understand how to fix it, I don't even know the line of the code where the error is, does anyone know? please I need help.

[15:11:47] [debug] Run time error 4: "Array index out of bounds"
[15:11:47] [debug] Attempted to read/write array element at index 682 in array of size 682
[15:11:47] [debug] AMX backtrace:
[15:11:47] [debug] #0 00002b08 in ?? (1141407744, 1137803264, 1116143616, 1075838976, -8978177, 1120403456) in Vz.amx
[15:11:47] [debug] #1 0009f0f0 in public cargartodo () in Vz.amx

Code:
forward cargartodo();
public cargartodo()
{
	UltimaIDBandas = 0;
	LoadBarrelMeta(1);
    LoadBarrelMeta(2);
    LoadBarrelMeta(3);
	CargarFacciones();
	ResetCars();
	CargarUsers();
	CargarVehiculos();
	CargarFabricas();
	
	CN = TextDrawCreate(321.000000, 0.000000, ".-.");
	TextDrawAlignment(CN, 2);
	TextDrawBackgroundColor(CN, 255);
	TextDrawFont(CN, 1);
	TextDrawLetterSize(CN, 2.250000, 12.199995);
	TextDrawColor(CN, 255);
	TextDrawSetOutline(CN, 0);
	TextDrawSetProportional(CN, 1);
	TextDrawSetShadow(CN, 1);
	TextDrawUseBox(CN, 1);
	TextDrawBoxColor(CN, 255);
	TextDrawTextSize(CN, 374.000000, -649.000000);

	CN2 = TextDrawCreate(321.000000, 337.000000, ".-.");
	TextDrawAlignment(CN2, 2);
	TextDrawBackgroundColor(CN2, 255);
	TextDrawFont(CN2, 1);
	TextDrawLetterSize(CN2, 2.259999, 15.600002);
	TextDrawColor(CN2, 255);
	TextDrawSetOutline(CN2, 0);
	TextDrawSetProportional(CN2, 1);
	TextDrawSetShadow(CN2, 1);
	TextDrawUseBox(CN2, 1);
	TextDrawBoxColor(CN2, 255);
	TextDrawTextSize(CN2, 374.000000, -649.000000);

	CN3 = TextDrawCreate(312.000000, 47.000000, ""SERVER_NAME2" Roleplay");
	TextDrawAlignment(CN3, 2);
	TextDrawBackgroundColor(CN3, 255);
	TextDrawFont(CN3, 3);
	TextDrawLetterSize(CN3, 1.229999, 2.200000);
	TextDrawColor(CN3, -1);
	TextDrawSetOutline(CN3, 0);
	TextDrawSetProportional(CN3, 1);
	TextDrawSetShadow(CN3, 1);

	CN4 = TextDrawCreate(313.000000, 349.000000, "WEB: HTTP://www.vz-rp.xyz");
	TextDrawBackgroundColor(CN4, 255);
	TextDrawAlignment(CN4, 2);
	TextDrawFont(CN4, 1);
	TextDrawLetterSize(CN4, 0.439999, 1.100000);
	TextDrawColor(CN4, 0x5885ddFF);
	TextDrawSetOutline(CN4, 0);
	TextDrawSetProportional(CN4, 1);
	TextDrawSetShadow(CN4, 1);
	TextDrawSetSelectable(CN4, 0);

	CN5 = TextDrawCreate(458.000000, 430.000000, "www.vz-rp.xyz - Servidor RP 1");
	TextDrawBackgroundColor(CN5, 255);
	TextDrawFont(CN5, 1);
	TextDrawLetterSize(CN5, 0.250000, 1.200000);
	TextDrawColor(CN5, -1);
	TextDrawSetOutline(CN5, 0);
	TextDrawSetProportional(CN5, 1);
	TextDrawSetShadow(CN5, 1);
	
	NewPlayer[0] = TextDrawCreate(130.000000, 394.000000, "l");
	TextDrawLetterSize(NewPlayer[0], 44.499886, 2.799998);
	TextDrawTextSize(NewPlayer[0], 1280.000000, 1280.000000);
	TextDrawAlignment(NewPlayer[0], 0);
	TextDrawColor(NewPlayer[0], 0x00000020);
	TextDrawUseBox(NewPlayer[0], 0);
	TextDrawBoxColor(NewPlayer[0], 0x80808080);
	TextDrawSetShadow(NewPlayer[0], 0);
	TextDrawSetOutline(NewPlayer[0], 0);
	TextDrawBackgroundColor(NewPlayer[0], 0x000000FF);
	TextDrawFont(NewPlayer[0], 1);
	TextDrawSetProportional(NewPlayer[0], 1);
	TextDrawSetSelectable(NewPlayer[0], 0);

	NewPlayer[2] = TextDrawCreate(191.156677, 400.750000, "Pulsa ~y~'H'~w~ para abrir el menu de opciones.");
	TextDrawLetterSize(NewPlayer[2], 0.320219, 1.320001);
	TextDrawAlignment(NewPlayer[2], 1);
	TextDrawColor(NewPlayer[2], -1);
	TextDrawSetShadow(NewPlayer[2], 1);
	TextDrawSetOutline(NewPlayer[2], 0);
	TextDrawBackgroundColor(NewPlayer[2], 255);
	TextDrawFont(NewPlayer[2], 1);
	TextDrawSetProportional(NewPlayer[2], 1);

    Mensajesed0 = TextDrawCreate(633.875000, 123.999992, "usebox");
    TextDrawLetterSize(Mensajesed0, 0.000000, 3.187962);
    TextDrawTextSize(Mensajesed0, 504.250000, 0.000000);
    TextDrawAlignment(Mensajesed0, 1);
    TextDrawColor(Mensajesed0, 255);
    TextDrawUseBox(Mensajesed0, true);
    TextDrawBoxColor(Mensajesed0, 255);
    TextDrawSetShadow(Mensajesed0, 0);
    TextDrawSetOutline(Mensajesed0, 0);
    TextDrawFont(Mensajesed0, 0);

    Mensajesed1 = TextDrawCreate(526.875000, 123.666641, "Tu Personaje Necesita");
    TextDrawLetterSize(Mensajesed1, 0.212499, 0.841666);
    TextDrawAlignment(Mensajesed1, 1);
    TextDrawColor(Mensajesed1, -1);
    TextDrawSetShadow(Mensajesed1, 0);
    TextDrawSetOutline(Mensajesed1, 1);
    TextDrawBackgroundColor(Mensajesed1, 51);
    TextDrawFont(Mensajesed1, 1);
    TextDrawSetProportional(Mensajesed1, 1);

    Mensajesed2 = TextDrawCreate(513.750000, 132.416610, "Hidratarse, la barra superior");
    TextDrawLetterSize(Mensajesed2, 0.221874, 0.812499);
    TextDrawAlignment(Mensajesed2, 1);
    TextDrawColor(Mensajesed2, -1);
    TextDrawSetShadow(Mensajesed2, 0);
    TextDrawSetOutline(Mensajesed2, 1);
    TextDrawBackgroundColor(Mensajesed2, 51);
    TextDrawFont(Mensajesed2, 1);
    TextDrawSetProportional(Mensajesed2, 1);

    Mensajesed3 = TextDrawCreate(522.500000, 141.750000, "azul indica el nivel de sed.");
    TextDrawLetterSize(Mensajesed3, 0.196874, 0.870833);
    TextDrawAlignment(Mensajesed3, 1);
    TextDrawColor(Mensajesed3, -1);
    TextDrawSetShadow(Mensajesed3, 0);
    TextDrawSetOutline(Mensajesed3, 1);
    TextDrawBackgroundColor(Mensajesed3, 51);
    TextDrawFont(Mensajesed3, 1);
    TextDrawSetProportional(Mensajesed3, 1);

    Avisosed0 = TextDrawCreate(635.750000, 138.583328, "usebox");
    TextDrawLetterSize(Avisosed0, 0.000000, 3.229628);
    TextDrawTextSize(Avisosed0, 503.625000, 0.000000);
    TextDrawAlignment(Avisosed0, 1);
    TextDrawColor(Avisosed0, 0);
    TextDrawUseBox(Avisosed0, true);
    TextDrawBoxColor(Avisosed0, 255);
    TextDrawSetShadow(Avisosed0, 0);
    TextDrawSetOutline(Avisosed0, 0);
    TextDrawFont(Avisosed0, 0);

    Avisosed1 = TextDrawCreate(516.250000, 138.249984, "Puedes comprar bebidas en los");
    TextDrawLetterSize(Avisosed1, 0.199999, 1.074999);
    TextDrawAlignment(Avisosed1, 1);
    TextDrawColor(Avisosed1, -1);
    TextDrawSetShadow(Avisosed1, 0);
    TextDrawSetOutline(Avisosed1, 1);
    TextDrawBackgroundColor(Avisosed1, 51);
    TextDrawFont(Avisosed1, 1);
    TextDrawSetProportional(Avisosed1, 1);

    Avisosed2 = TextDrawCreate(508.125000, 148.166656, "supermercados 24/7");
    TextDrawLetterSize(Avisosed2, 0.234374, 0.987499);
    TextDrawAlignment(Avisosed2, 1);
    TextDrawColor(Avisosed2, 8388863);
    TextDrawSetShadow(Avisosed2, 0);
    TextDrawSetOutline(Avisosed2, 1);
    TextDrawBackgroundColor(Avisosed2, 51);
    TextDrawFont(Avisosed2, 1);
    TextDrawSetProportional(Avisosed2, 1);

    Avisosed3 = TextDrawCreate(593.125000, 146.999908, "para mas");
    TextDrawLetterSize(Avisosed3, 0.215624, 1.075000);
    TextDrawAlignment(Avisosed3, 1);
    TextDrawColor(Avisosed3, -1);
    TextDrawSetShadow(Avisosed3, 0);
    TextDrawSetOutline(Avisosed3, 1);
    TextDrawBackgroundColor(Avisosed3, 51);
    TextDrawFont(Avisosed3, 1);
    TextDrawSetProportional(Avisosed3, 1);

    Avisosed4 = TextDrawCreate(513.750000, 158.083312, "informacion usa");
    TextDrawLetterSize(Avisosed4, 0.246874, 0.870833);
    TextDrawAlignment(Avisosed4, 1);
    TextDrawColor(Avisosed4, -1);
    TextDrawSetShadow(Avisosed4, 0);
    TextDrawSetOutline(Avisosed4, 1);
    TextDrawBackgroundColor(Avisosed4, 51);
    TextDrawFont(Avisosed4, 1);
    TextDrawSetProportional(Avisosed4, 1);

    Avisosed5 = TextDrawCreate(585.625000, 156.916625, "/ayuda sed");
    TextDrawLetterSize(Avisosed5, 0.193749, 0.987499);
    TextDrawAlignment(Avisosed5, 1);
    TextDrawColor(Avisosed5, -65281);
    TextDrawSetShadow(Avisosed5, 0);
    TextDrawSetOutline(Avisosed5, 1);
    TextDrawBackgroundColor(Avisosed5, 51);
    TextDrawFont(Avisosed5, 1);
    TextDrawSetProportional(Avisosed5, 1);

    Mensajehambre0 = TextDrawCreate(633.875000, 131.000000, "usebox");
    TextDrawLetterSize(Mensajehambre0, 0.000000, 3.919444);
    TextDrawTextSize(Mensajehambre0, 498.625000, 0.000000);
    TextDrawAlignment(Mensajehambre0, 1);
    TextDrawColor(Mensajehambre0, 0);
    TextDrawUseBox(Mensajehambre0, true);
    TextDrawBoxColor(Mensajehambre0, 255);
    TextDrawSetShadow(Mensajehambre0, 0);
    TextDrawSetOutline(Mensajehambre0, 0);
    TextDrawFont(Mensajehambre0, 0);

    Mensajehambre1 = TextDrawCreate(525.625000, 132.416656, "Tu Personaje Necesita");
    TextDrawLetterSize(Mensajehambre1, 0.215624, 0.929166);
    TextDrawAlignment(Mensajehambre1, 1);
    TextDrawColor(Mensajehambre1, -1);
    TextDrawSetShadow(Mensajehambre1, 0);
    TextDrawSetOutline(Mensajehambre1, 1);
    TextDrawBackgroundColor(Mensajehambre1, 51);
    TextDrawFont(Mensajehambre1, 1);
    TextDrawSetProportional(Mensajehambre1, 1);

    Mensajehambre2 = TextDrawCreate(509.375000, 141.166641, "alimentarse, la barra superior");
    TextDrawLetterSize(Mensajehambre2, 0.218749, 0.987499);
    TextDrawAlignment(Mensajehambre2, 1);
    TextDrawColor(Mensajehambre2, -1);
    TextDrawSetShadow(Mensajehambre2, 0);
    TextDrawSetOutline(Mensajehambre2, 1);
    TextDrawBackgroundColor(Mensajehambre2, 51);
    TextDrawFont(Mensajehambre2, 1);
    TextDrawSetProportional(Mensajehambre2, 1);

    Mensajehambre3 = TextDrawCreate(515.000000, 149.333328, "naranja indica el nivel de");
    TextDrawLetterSize(Mensajehambre3, 0.234374, 0.987499);
    TextDrawAlignment(Mensajehambre3, 1);
    TextDrawColor(Mensajehambre3, -1);
    TextDrawSetShadow(Mensajehambre3, 0);
    TextDrawSetOutline(Mensajehambre3, 1);
    TextDrawBackgroundColor(Mensajehambre3, 51);
    TextDrawFont(Mensajehambre3, 1);
    TextDrawSetProportional(Mensajehambre3, 1);

    Mensajehambre4 = TextDrawCreate(548.125000, 158.666625, "Hambre.");
    TextDrawLetterSize(Mensajehambre4, 0.259374, 0.870832);
    TextDrawAlignment(Mensajehambre4, 1);
    TextDrawColor(Mensajehambre4, -1);
    TextDrawSetShadow(Mensajehambre4, 0);
    TextDrawSetOutline(Mensajehambre4, 1);
    TextDrawBackgroundColor(Mensajehambre4, 51);
    TextDrawFont(Mensajehambre4, 1);
    TextDrawSetProportional(Mensajehambre4, 1);

    Avisohambre0 = TextDrawCreate(623.875000, 142.666656, "usebox");
    TextDrawLetterSize(Avisohambre0, 0.000000, 3.400927);
    TextDrawTextSize(Avisohambre0, 499.250000, 0.000000);
    TextDrawAlignment(Avisohambre0, 1);
    TextDrawColor(Avisohambre0, 0);
    TextDrawUseBox(Avisohambre0, true);
    TextDrawBoxColor(Avisohambre0, 255);
    TextDrawSetShadow(Avisohambre0, 0);
    TextDrawSetOutline(Avisohambre0, 0);
    TextDrawFont(Avisohambre0, 0);

    Avisohambre1 = TextDrawCreate(511.875000, 142.333297, "Puedes comprar pizza en las");
    TextDrawLetterSize(Avisohambre1, 0.203124, 0.987499);
    TextDrawAlignment(Avisohambre1, 1);
    TextDrawColor(Avisohambre1, -1);
    TextDrawSetShadow(Avisohambre1, 0);
    TextDrawSetOutline(Avisohambre1, 1);
    TextDrawBackgroundColor(Avisohambre1, 51);
    TextDrawFont(Avisohambre1, 1);
    TextDrawSetProportional(Avisohambre1, 1);

    Avisohambre2 = TextDrawCreate(518.125000, 152.250000, "Pizzerias.");
    TextDrawLetterSize(Avisohambre2, 0.249999, 0.929166);
    TextDrawAlignment(Avisohambre2, 1);
    TextDrawColor(Avisohambre2, 8388863);
    TextDrawSetShadow(Avisohambre2, 0);
    TextDrawSetOutline(Avisohambre2, 1);
    TextDrawBackgroundColor(Avisohambre2, 51);
    TextDrawFont(Avisohambre2, 1);
    TextDrawSetProportional(Avisohambre2, 1);

    Avisohambre3 = TextDrawCreate(563.125000, 152.250045, "para mas");
    TextDrawLetterSize(Avisohambre3, 0.259374, 0.899999);
    TextDrawAlignment(Avisohambre3, 1);
    TextDrawColor(Avisohambre3, -1);
    TextDrawSetShadow(Avisohambre3, 0);
    TextDrawSetOutline(Avisohambre3, 1);
    TextDrawBackgroundColor(Avisohambre3, 51);
    TextDrawFont(Avisohambre3, 1);
    TextDrawSetProportional(Avisohambre3, 1);

    Avisohambre4 = TextDrawCreate(505.000000, 161.583328, "informacion usa");
    TextDrawLetterSize(Avisohambre4, 0.212499, 1.075000);
    TextDrawAlignment(Avisohambre4, 1);
    TextDrawColor(Avisohambre4, -1);
    TextDrawSetShadow(Avisohambre4, 0);
    TextDrawBackgroundColor(Avisohambre4, 51);
    TextDrawFont(Avisohambre4, 1);
    TextDrawSetProportional(Avisohambre4, 1);

    Avisohambre5 = TextDrawCreate(563.750000, 162.749938, "/ayuda hambre");
    TextDrawLetterSize(Avisohambre5, 0.196874, 0.870833);
    TextDrawAlignment(Avisohambre5, 1);
    TextDrawColor(Avisohambre5, -65281);
    TextDrawSetShadow(Avisohambre5, 0);
    TextDrawSetOutline(Avisohambre5, 1);
    TextDrawBackgroundColor(Avisohambre5, 51);
    TextDrawFont(Avisohambre5, 1);
    TextDrawSetProportional(Avisohambre5, 1);

    sed0 = TextDrawCreate(625.750000, 160.750000, "usebox");
    TextDrawLetterSize(sed0, 0.000000, 2.988888);
    TextDrawTextSize(sed0, 451.125000, 0.000000);
    TextDrawAlignment(sed0, 1);
    TextDrawColor(sed0, 0);
    TextDrawUseBox(sed0, true);
    TextDrawBoxColor(sed0, 255);
    TextDrawSetShadow(sed0, 0);
    TextDrawSetOutline(sed0, 0);
    TextDrawFont(sed0, 0);

    sed1 = TextDrawCreate(461.875000, 159.833358, "Tu sed llego al 50 porciento,");
    TextDrawLetterSize(sed1, 0.310624, 1.524166);
    TextDrawAlignment(sed1, 1);
    TextDrawColor(sed1, -1);
    TextDrawSetShadow(sed1, 0);
    TextDrawSetOutline(sed1, 1);
    TextDrawBackgroundColor(sed1, 51);
    TextDrawFont(sed1, 1);
    TextDrawSetProportional(sed1, 1);

    sed2 = TextDrawCreate(472.500000, 173.250030, "tiene que beber algo.");
    TextDrawLetterSize(sed2, 0.356874, 1.413332);
    TextDrawAlignment(sed2, 1);
    TextDrawColor(sed2, -1);
    TextDrawSetShadow(sed2, 0);
    TextDrawSetOutline(sed2, 1);
    TextDrawBackgroundColor(sed2, 51);
    TextDrawFont(sed2, 1);
    TextDrawSetProportional(sed2, 1);

    Desbloqueo0 = TextDrawCreate(627.625000, 112.333312, "usebox");
    TextDrawLetterSize(Desbloqueo0, 0.000000, 5.528243);
    TextDrawTextSize(Desbloqueo0, 498.625000, 0.000000);
    TextDrawAlignment(Desbloqueo0, 1);
    TextDrawColor(Desbloqueo0, 0);
    TextDrawUseBox(Desbloqueo0, true);
    TextDrawBoxColor(Desbloqueo0, 255);
    TextDrawSetShadow(Desbloqueo0, 0);
    TextDrawSetOutline(Desbloqueo0, 0);
    TextDrawFont(Desbloqueo0, 0);

    Desbloqueo1 = TextDrawCreate(515.625000, 112.583320, "Alcanzaste el nivel 2, se");
    TextDrawLetterSize(Desbloqueo1, 0.215624, 1.074998);
    TextDrawAlignment(Desbloqueo1, 1);
    TextDrawColor(Desbloqueo1, -1);
    TextDrawSetShadow(Desbloqueo1, 0);
    TextDrawSetOutline(Desbloqueo1, 1);
    TextDrawBackgroundColor(Desbloqueo1, 51);
    TextDrawFont(Desbloqueo1, 1);
    TextDrawSetProportional(Desbloqueo1, 1);

    Desbloqueo2 = TextDrawCreate(515.000000, 122.499984, "desbloqueo el trabajo de");
    TextDrawLetterSize(Desbloqueo2, 0.206248, 1.133332);
    TextDrawAlignment(Desbloqueo2, 1);
    TextDrawColor(Desbloqueo2, -1);
    TextDrawSetShadow(Desbloqueo2, 0);
    TextDrawSetOutline(Desbloqueo2, 1);
    TextDrawBackgroundColor(Desbloqueo2, 51);
    TextDrawFont(Desbloqueo2, 1);
    TextDrawSetProportional(Desbloqueo2, 1);

    Desbloqueo3 = TextDrawCreate(513.750000, 134.749984, "medico y la posibilidad de");
    TextDrawLetterSize(Desbloqueo3, 0.215624, 0.958333);
    TextDrawAlignment(Desbloqueo3, 1);
    TextDrawColor(Desbloqueo3, -1);
    TextDrawSetShadow(Desbloqueo3, 0);
    TextDrawSetOutline(Desbloqueo3, 1);
    TextDrawBackgroundColor(Desbloqueo3, 51);
    TextDrawFont(Desbloqueo3, 1);
    TextDrawSetProportional(Desbloqueo3, 1);

    Desbloqueo4 = TextDrawCreate(509.375000, 143.499938, "participar en las carreras del");
    TextDrawLetterSize(Desbloqueo4, 0.215624, 1.016666);
    TextDrawAlignment(Desbloqueo4, 1);
    TextDrawColor(Desbloqueo4, -1);
    TextDrawSetShadow(Desbloqueo4, 0);
    TextDrawSetOutline(Desbloqueo4, 1);
    TextDrawBackgroundColor(Desbloqueo4, 51);
    TextDrawFont(Desbloqueo4, 1);
    TextDrawSetProportional(Desbloqueo4, 1);

    Desbloqueo5 = TextDrawCreate(533.125000, 151.666671, "estadio de LV.");
    TextDrawLetterSize(Desbloqueo5, 0.237498, 1.045832);
    TextDrawAlignment(Desbloqueo5, 1);
    TextDrawColor(Desbloqueo5, -1);
    TextDrawSetShadow(Desbloqueo5, 0);
    TextDrawSetOutline(Desbloqueo5, 1);
    TextDrawBackgroundColor(Desbloqueo5, 51);
    TextDrawFont(Desbloqueo5, 1);
    TextDrawSetProportional(Desbloqueo5, 1);

	Verificar1 = TextDrawCreate(8.800004, 192.639938, "Correo sin verificar");
	TextDrawLetterSize(Verificar1, 0.314799, 1.144533);
	TextDrawAlignment(Verificar1, 1);
	TextDrawColor(Verificar1, -64937473);
	TextDrawSetShadow(Verificar1, 0);
	TextDrawSetOutline(Verificar1, 1);
	TextDrawBackgroundColor(Verificar1, 51);
	TextDrawFont(Verificar1, 1);
	TextDrawSetProportional(Verificar1, 1);

	Verificar2 = TextDrawCreate(8.799987, 206.826599, "/verificar correo");
	TextDrawLetterSize(Verificar2, 0.317199, 1.010132);
	TextDrawAlignment(Verificar2, 1);
	TextDrawColor(Verificar2, -169320961);
	TextDrawSetShadow(Verificar2, 0);
	TextDrawSetOutline(Verificar2, 1);
	TextDrawBackgroundColor(Verificar2, 51);
	TextDrawFont(Verificar2, 1);
	TextDrawSetProportional(Verificar2, 1);

	Refuerzos0 = TextDrawCreate(248.316101, 377.416595, "~w~Refuerzos ~b~Solicitados");
   	TextDrawLetterSize(Refuerzos0, 0.449999, 1.600000);
    TextDrawAlignment(Refuerzos0, 1);
    TextDrawColor(Refuerzos0, -1);
    TextDrawSetShadow(Refuerzos0, 0);
    TextDrawSetOutline(Refuerzos0, 1);
    TextDrawBackgroundColor(Refuerzos0, 255);
    TextDrawFont(Refuerzos0, 1);
    TextDrawSetProportional(Refuerzos0, 1);

	Refuerzos1 = TextDrawCreate(248.316101, 377.416595, "");
 	TextDrawLetterSize(Refuerzos1, 0.449999, 1.600000);
  	TextDrawAlignment(Refuerzos1, 1);
   	TextDrawColor(Refuerzos1, -16776961);
    TextDrawSetShadow(Refuerzos1, 0);
    TextDrawSetOutline(Refuerzos1, 1);
    TextDrawBackgroundColor(Refuerzos1, 51);
    TextDrawFont(Refuerzos1, 1);
    TextDrawSetProportional(Refuerzos1, 1);

	Refuerzos2 = TextDrawCreate(399.305969, 374.833312, "usebox");
 	TextDrawLetterSize(Refuerzos2, 0.000000, 2.859263);
    TextDrawTextSize(Refuerzos2, 243.505126, 0.000000);
    TextDrawAlignment(Refuerzos2, 1);
    TextDrawColor(Refuerzos2, 0);
    TextDrawUseBox(Refuerzos2, true);
    TextDrawBoxColor(Refuerzos2, 102);
    TextDrawSetShadow(Refuerzos2, 0);
    TextDrawSetOutline(Refuerzos2, 0);
    TextDrawFont(Refuerzos2, 0);

    Refuerzos3 = TextDrawCreate(253.938247, 377.999908, "");
    TextDrawLetterSize(Refuerzos3, 0.449999, 1.600000);
    TextDrawTextSize(Refuerzos3, -81.991210, -87.500000);
    TextDrawAlignment(Refuerzos3, 1);
    TextDrawColor(Refuerzos3, -16776961);
    TextDrawSetShadow(Refuerzos3, 0);
    TextDrawSetOutline(Refuerzos3, 1);
    TextDrawBackgroundColor(Refuerzos3, 51);
    TextDrawFont(Refuerzos3, 1);
    TextDrawSetProportional(Refuerzos3, 1);

    Refuerzos4 = TextDrawCreate(259.560668, 377.416625, "");
    TextDrawLetterSize(Refuerzos4, 0.449999, 1.600000);
    TextDrawAlignment(Refuerzos4, 1);
    TextDrawColor(Refuerzos4, -16776961);
    TextDrawSetShadow(Refuerzos4, 0);
    TextDrawSetOutline(Refuerzos4, 1);
    TextDrawBackgroundColor(Refuerzos4, 51);
    TextDrawFont(Refuerzos4, 1);
    TextDrawSetProportional(Refuerzos4, 1);

	T_Comandos1 = TextDrawCreate(446.316406, 363.833435, "Pulsa la tecla ~b~T ~w~para hablar o ingresar ~y~comandos~w~.");
	TextDrawLetterSize(T_Comandos1, 0.310043, 1.705000);
	TextDrawAlignment(T_Comandos1, 3);
	TextDrawColor(T_Comandos1, -1);
	TextDrawSetShadow(T_Comandos1, 1);
	TextDrawSetOutline(T_Comandos1, 0);
	TextDrawBackgroundColor(T_Comandos1, 255);
	TextDrawFont(T_Comandos1, 1);
	TextDrawSetProportional(T_Comandos1, 1);
	TextDrawSetShadow(T_Comandos1, 1);

	T_Comandos2 = TextDrawCreate(188.799453, 366.166656, "box");
	TextDrawLetterSize(T_Comandos2, 0.000000, 1.426063);
	TextDrawTextSize(T_Comandos2, 451.000000, 0.000000);
	TextDrawAlignment(T_Comandos2, 1);
	TextDrawColor(T_Comandos2, -1);
	TextDrawUseBox(T_Comandos2, 1);
	TextDrawBoxColor(T_Comandos2, 5);
	TextDrawSetShadow(T_Comandos2, 0);
	TextDrawSetOutline(T_Comandos2, 0);
	TextDrawBackgroundColor(T_Comandos2, 255);
	TextDrawFont(T_Comandos2, 1);
	TextDrawSetProportional(T_Comandos2, 1);
	TextDrawSetShadow(T_Comandos2, 0);

	T_Comandos3 = TextDrawCreate(191.899642, 366.166656, "box");
	TextDrawLetterSize(T_Comandos3, 0.000000, 1.238655);
	TextDrawTextSize(T_Comandos3, 444.000000, 0.000000);
	TextDrawAlignment(T_Comandos3, 1);
	TextDrawColor(T_Comandos3, -1);
	TextDrawUseBox(T_Comandos3, 1);
	TextDrawBoxColor(T_Comandos3, 5);
	TextDrawSetShadow(T_Comandos3, 0);
	TextDrawSetOutline(T_Comandos3, 0);
	TextDrawBackgroundColor(T_Comandos3, 255);
	TextDrawFont(T_Comandos3, 1);
	TextDrawSetProportional(T_Comandos3, 1);
	TextDrawSetShadow(T_Comandos3, 0);

	T_Comandos4 = TextDrawCreate(196.599929, 366.166656, "box");
	TextDrawLetterSize(T_Comandos4, 0.000000, 1.191802);
	TextDrawTextSize(T_Comandos4, 443.000000, 0.000000);
	TextDrawAlignment(T_Comandos4, 1);
	TextDrawColor(T_Comandos4, -1);
	TextDrawUseBox(T_Comandos4, 1);
	TextDrawBoxColor(T_Comandos4, 5);
	TextDrawSetShadow(T_Comandos4, 0);
	TextDrawSetOutline(T_Comandos4, 0);
	TextDrawBackgroundColor(T_Comandos4, 255);
	TextDrawFont(T_Comandos4, 1);
	TextDrawSetProportional(T_Comandos4, 1);
	TextDrawSetShadow(T_Comandos4, 0);

	T_Comandos5 = TextDrawCreate(184.299179, 366.166656, "box");
	TextDrawLetterSize(T_Comandos5, 0.000000, 1.379211);
	TextDrawTextSize(T_Comandos5, 448.499725, 0.000000);
	TextDrawAlignment(T_Comandos5, 1);
	TextDrawColor(T_Comandos5, -1);
	TextDrawUseBox(T_Comandos5, 1);
	TextDrawBoxColor(T_Comandos5, 5);
	TextDrawSetShadow(T_Comandos5, 0);
	TextDrawSetOutline(T_Comandos5, 0);
	TextDrawBackgroundColor(T_Comandos5, 255);
	TextDrawFont(T_Comandos5, 1);
	TextDrawSetProportional(T_Comandos5, 1);
	TextDrawSetShadow(T_Comandos5, 0);
	
    Completonegro = TextDrawCreate(642.000000, 0.000000, "_");
	TextDrawLetterSize(Completonegro, 0.800000, 49.499992);
	TextDrawTextSize(Completonegro, -3.000000, 4.000000);
	TextDrawAlignment(Completonegro, 0);
	TextDrawColor(Completonegro, 0xFFFFFFFF);
	TextDrawUseBox(Completonegro, 1);
	TextDrawBoxColor(Completonegro, 0x000000FF);
	TextDrawSetShadow(Completonegro, 1);
	TextDrawSetOutline(Completonegro, 0);
	TextDrawBackgroundColor(Completonegro, 0x000000FF);
	TextDrawFont(Completonegro, 1);
	TextDrawSetProportional(Completonegro, 1);
	TextDrawSetSelectable(Completonegro, 0);

	LuegoDe = TextDrawCreate(214.000000, 211.000000, "Luego de algunos minutos...");
	TextDrawLetterSize(LuegoDe, 0.500000, 1.000000);
	TextDrawTextSize(LuegoDe, 1280.000000, 1280.000000);
	TextDrawAlignment(LuegoDe, 0);
	TextDrawColor(LuegoDe, 0xFFFFFFFF);
	TextDrawUseBox(LuegoDe, 0);
	TextDrawBoxColor(LuegoDe, 0x80808080);
	TextDrawSetShadow(LuegoDe, 1);
	TextDrawSetOutline(LuegoDe, 0);
	TextDrawBackgroundColor(LuegoDe, 0x000000FF);
	TextDrawFont(LuegoDe, 3);
	TextDrawSetProportional(LuegoDe, 1);
	TextDrawSetSelectable(LuegoDe, 0);

	TRobo1 = TextDrawCreate(501.000000, 153.000000, "No salgas del checkpoint");
	TextDrawBackgroundColor(TRobo1, 255);
	TextDrawFont(TRobo1, 1);
	TextDrawLetterSize(TRobo1, 0.280000, 1.000000);
	TextDrawColor(TRobo1, -1);
	TextDrawSetOutline(TRobo1, 0);
	TextDrawSetProportional(TRobo1, 1);
	TextDrawSetShadow(TRobo1, 1);
	TextDrawSetSelectable(TRobo1, 0);

	TRobo2 = TextDrawCreate(502.000000, 166.000000, "o se cancelara el robo");
	TextDrawBackgroundColor(TRobo2, 255);
	TextDrawFont(TRobo2, 1);
	TextDrawLetterSize(TRobo2, 0.290000, 1.000000);
	TextDrawColor(TRobo2, -1);
	TextDrawSetOutline(TRobo2, 0);
	TextDrawSetProportional(TRobo2, 1);
	TextDrawSetShadow(TRobo2, 1);
	TextDrawSetSelectable(TRobo2, 0);

	TRobo4 = TextDrawCreate(506.000000, 137.000000, "ROBANDO TIENDA");
	TextDrawBackgroundColor(TRobo4, 255);
	TextDrawFont(TRobo4, 1);
	TextDrawLetterSize(TRobo4, 0.360000, 1.000000);
	TextDrawColor(TRobo4, -16776961);
	TextDrawSetOutline(TRobo4, 0);
	TextDrawSetProportional(TRobo4, 1);
	TextDrawSetShadow(TRobo4, 1);
	TextDrawSetSelectable(TRobo4, 0);

	for(new i=0;i<MAX_PLAYERS;i++)
	{
		NotiConnect[i][0] = TextDrawCreate(13.000000, 265.911041, "box");
		TextDrawLetterSize(NotiConnect[i][0], 0.000000, 4.799999);
		TextDrawTextSize(NotiConnect[i][0], 182.000000, 0.000000);
		TextDrawAlignment(NotiConnect[i][0], 1);
		TextDrawColor(NotiConnect[i][0], -1);
		TextDrawUseBox(NotiConnect[i][0], 1);
		TextDrawBoxColor(NotiConnect[i][0], 255);
		TextDrawSetShadow(NotiConnect[i][0], 0);
		TextDrawSetOutline(NotiConnect[i][0], 0);
		TextDrawBackgroundColor(NotiConnect[i][0], 255);
		TextDrawFont(NotiConnect[i][0], 0);
		TextDrawSetProportional(NotiConnect[i][0], 1);
		TextDrawSetShadow(NotiConnect[i][0], 0);

		NotiConnect[i][1] = TextDrawCreate(99.500000, 295.777862, "~>~SE_HA_CONECTADO");
		TextDrawLetterSize(NotiConnect[i][1], 0.217000, 0.927999);
		TextDrawAlignment(NotiConnect[i][1], 1);
		TextDrawColor(NotiConnect[i][1], 8388863);
		TextDrawSetShadow(NotiConnect[i][1], 0);
		TextDrawSetOutline(NotiConnect[i][1], 0);
		TextDrawBackgroundColor(NotiConnect[i][1], 255);
		TextDrawFont(NotiConnect[i][1], 1);
		TextDrawSetProportional(NotiConnect[i][1], 1);
		TextDrawSetShadow(NotiConnect[i][1], 0);

		TDEditor_TD[i][0] = TextDrawCreate(199.500000, 258.687500, "box");
		TextDrawLetterSize(TDEditor_TD[i][0], 0.000000, 7.449995);
		TextDrawTextSize(TDEditor_TD[i][0], 420.000000, 0.000000);
		TextDrawAlignment(TDEditor_TD[i][0], 1);
		TextDrawColor(TDEditor_TD[i][0], -1);
		TextDrawUseBox(TDEditor_TD[i][0], 1);
		TextDrawBoxColor(TDEditor_TD[i][0], 255);
		TextDrawSetShadow(TDEditor_TD[i][0], 0);
		TextDrawSetOutline(TDEditor_TD[i][0], 0);
		TextDrawBackgroundColor(TDEditor_TD[i][0], 255);
		TextDrawFont(TDEditor_TD[i][0], 1);
		TextDrawSetProportional(TDEditor_TD[i][0], 1);
		TextDrawSetShadow(TDEditor_TD[i][0], 0);

		TDEditor_TD[i][1] = TextDrawCreate(178.500000, 241.187500, "ld_beat:cring");
		TextDrawLetterSize(TDEditor_TD[i][1], 0.000000, 0.000000);
		TextDrawTextSize(TDEditor_TD[i][1], 78.000000, 65.000000);
		TextDrawAlignment(TDEditor_TD[i][1], 1);
		TextDrawColor(TDEditor_TD[i][1], -1);
		TextDrawSetShadow(TDEditor_TD[i][1], 0);
		TextDrawSetOutline(TDEditor_TD[i][1], 0);
		TextDrawBackgroundColor(TDEditor_TD[i][1], 255);
		TextDrawFont(TDEditor_TD[i][1], 4);
		TextDrawSetProportional(TDEditor_TD[i][1], 0);
		TextDrawSetShadow(TDEditor_TD[i][1], 0);

		TDEditor_TD[i][2] = TextDrawCreate(201.500000, 288.437500, "-");
		TextDrawLetterSize(TDEditor_TD[i][2], 16.233995, 0.615625);
		TextDrawAlignment(TDEditor_TD[i][2], 1);
		TextDrawColor(TDEditor_TD[i][2], -1768533761);
		TextDrawSetShadow(TDEditor_TD[i][2], 0);
		TextDrawSetOutline(TDEditor_TD[i][2], 0);
		TextDrawBackgroundColor(TDEditor_TD[i][2], 255);
		TextDrawFont(TDEditor_TD[i][2], 1);
		TextDrawSetProportional(TDEditor_TD[i][2], 1);
		TextDrawSetShadow(TDEditor_TD[i][2], 0);

		TDEditor_TD[i][3] = TextDrawCreate(207.400177, 261.913604, "10");
		TextDrawLetterSize(TDEditor_TD[i][3], 0.572500, 2.405000);
		TextDrawAlignment(TDEditor_TD[i][3], 1);
		TextDrawColor(TDEditor_TD[i][3], -1);
		TextDrawSetShadow(TDEditor_TD[i][3], 0);
		TextDrawSetOutline(TDEditor_TD[i][3], 0);
		TextDrawBackgroundColor(TDEditor_TD[i][3], 255);
		TextDrawFont(TDEditor_TD[i][3], 1);
		TextDrawSetProportional(TDEditor_TD[i][3], 1);
		TextDrawSetShadow(TDEditor_TD[i][3], 0);

    	TDEditor_TD[i][4] = TextDrawCreate(249.500000, 266.125000, "Texto_Titulo");
		TextDrawLetterSize(TDEditor_TD[i][4], 0.630500, 2.208125);
		TextDrawAlignment(TDEditor_TD[i][4], 1);
		TextDrawColor(TDEditor_TD[i][4], -892709121);
		TextDrawSetShadow(TDEditor_TD[i][4], 0);
		TextDrawSetOutline(TDEditor_TD[i][4], 1);
		TextDrawBackgroundColor(TDEditor_TD[i][4], 255);
		TextDrawFont(TDEditor_TD[i][4], 0);
		TextDrawSetProportional(TDEditor_TD[i][4], 1);
		TextDrawSetShadow(TDEditor_TD[i][4], 0);

		TDEditor_TD[i][5] = TextDrawCreate(209.000000, 301.562500, "Texto_Mensaje");
		TextDrawLetterSize(TDEditor_TD[i][5], 0.371999, 1.565000);
		TextDrawAlignment(TDEditor_TD[i][5], 1);
		TextDrawColor(TDEditor_TD[i][5], -1);
		TextDrawSetShadow(TDEditor_TD[i][5], 0);
		TextDrawSetOutline(TDEditor_TD[i][5], 0);
		TextDrawBackgroundColor(TDEditor_TD[i][5], 255);
		TextDrawFont(TDEditor_TD[i][5], 1);
		TextDrawSetProportional(TDEditor_TD[i][5], 1);
		TextDrawSetShadow(TDEditor_TD[i][5], 0);

		MapaGTA[i] = TextDrawCreate(325.000000, 13.000000, "samaps:map");
		TextDrawBackgroundColor(MapaGTA[i], 255);
		TextDrawFont(MapaGTA[i], 4);
		TextDrawTextSize(MapaGTA[i], 310.000000, 324.000000);
		TextDrawColor(MapaGTA[i], 255);
		TextDrawSetOutline(MapaGTA[i], 0);
		TextDrawSetProportional(MapaGTA[i], 1);
		TextDrawSetShadow(MapaGTA[i], 1);
		TextDrawUseBox(MapaGTA[i], 1);
		TextDrawBoxColor(MapaGTA[i], 255);

		MapaGTA2[i] = TextDrawCreate(329.000000, 37.000000, "samaps:map");
		TextDrawBackgroundColor(MapaGTA2[i], 255);
		TextDrawFont(MapaGTA2[i], 4);
		TextDrawTextSize(MapaGTA2[i], 302.000000, 295.000000);
		TextDrawColor(MapaGTA2[i], -1);
		TextDrawSetOutline(MapaGTA2[i], 0);
		TextDrawSetProportional(MapaGTA2[i], 1);
		TextDrawSetShadow(MapaGTA2[i], 1);
		TextDrawUseBox(MapaGTA2[i], 1);
		TextDrawBoxColor(MapaGTA2[i], 124);

		MapaGTA3[i] = TextDrawCreate(333.000000, 16.000000, "GPS");
		TextDrawLetterSize(MapaGTA3[i], 0.579999, 1.800000);
		TextDrawAlignment(MapaGTA3[i], 1);
		TextDrawColor(MapaGTA3[i], -1);
		TextDrawSetShadow(MapaGTA3[i], 1);
		TextDrawSetOutline(MapaGTA3[i], 0);
		TextDrawBackgroundColor(MapaGTA3[i], 255);
		TextDrawFont(MapaGTA3[i], 2);
		TextDrawSetProportional(MapaGTA3[i], 1);

		MapaGTA4[i] = TextDrawCreate(457.000000, 23.000000, "Usa");
		TextDrawLetterSize(MapaGTA4[i], 0.259999, 0.699998);
		TextDrawAlignment(MapaGTA4[i], 1);
		TextDrawColor(MapaGTA4[i], -1);
		TextDrawSetShadow(MapaGTA4[i], 1);
		TextDrawSetOutline(MapaGTA4[i], 0);
		TextDrawBackgroundColor(MapaGTA4[i], 255);
		TextDrawFont(MapaGTA4[i], 2);
		TextDrawSetProportional(MapaGTA4[i], 1);

		MapaGTA5[i] = TextDrawCreate(479.000000, 23.000000, "/ocultar gps");
		TextDrawLetterSize(MapaGTA5[i], 0.260000, 0.699999);
		TextDrawAlignment(MapaGTA5[i], 1);
		TextDrawColor(MapaGTA5[i], -624405505);
		TextDrawSetShadow(MapaGTA5[i], 1);
		TextDrawSetOutline(MapaGTA5[i], 0);
		TextDrawBackgroundColor(MapaGTA5[i], 255);
		TextDrawFont(MapaGTA5[i], 2);
		TextDrawSetProportional(MapaGTA5[i], 1);

		MapaGTA6[i] = TextDrawCreate(558.000000, 23.000000, "para cerrar");
		TextDrawLetterSize(MapaGTA6[i], 0.260000, 0.699999);
		TextDrawAlignment(MapaGTA6[i], 1);
		TextDrawColor(MapaGTA6[i], -1);
		TextDrawSetShadow(MapaGTA6[i], 1);
		TextDrawSetOutline(MapaGTA6[i], 0);
		TextDrawBackgroundColor(MapaGTA6[i], 255);
		TextDrawFont(MapaGTA6[i], 2);
		TextDrawSetProportional(MapaGTA6[i], 1);

		MapaGTA7[i] = TextDrawCreate(333.000000, 16.000000, "PANTALLA");
		TextDrawLetterSize(MapaGTA7[i], 0.579999, 1.800000);
		TextDrawAlignment(MapaGTA7[i], 1);
		TextDrawColor(MapaGTA7[i], -1);
		TextDrawSetShadow(MapaGTA7[i], 1);
		TextDrawSetOutline(MapaGTA7[i], 0);
		TextDrawBackgroundColor(MapaGTA7[i], 255);
		TextDrawFont(MapaGTA7[i], 2);
		TextDrawSetProportional(MapaGTA7[i], 1);

		MapaGTA8[i] = TextDrawCreate(479.000000, 23.000000, "/ocultar pantalla");
		TextDrawLetterSize(MapaGTA8[i], 0.260000, 0.699999);
		TextDrawAlignment(MapaGTA8[i], 1);
		TextDrawColor(MapaGTA8[i], -624405505);
		TextDrawSetShadow(MapaGTA8[i], 1);
		TextDrawSetOutline(MapaGTA8[i], 0);
		TextDrawBackgroundColor(MapaGTA8[i], 255);
		TextDrawFont(MapaGTA8[i], 2);
		TextDrawSetProportional(MapaGTA8[i], 1);

        Anuncio0[i] = TextDrawCreate(456.727355, 115.200248,"~<~ ~b~Anuncios VandZone ~>~");
		TextDrawLetterSize(Anuncio0[i],0.308618, 0.851198);
		TextDrawBackgroundColor(Anuncio0[i], 0);
		TextDrawSetOutline(Anuncio0[i],1);
		TextDrawFont(Anuncio0[i], 0);

		TAXIMET[i] = TextDrawCreate(378.000000, 360.000000, "Taximetro");
		TextDrawBackgroundColor(TAXIMET[i], 255);
		TextDrawFont(TAXIMET[i], 1);
		TextDrawLetterSize(TAXIMET[i], 0.500000, 1.000000);
		TextDrawColor(TAXIMET[i], -1);
		TextDrawSetOutline(TAXIMET[i], 0);
		TextDrawSetProportional(TAXIMET[i], 1);
		TextDrawSetShadow(TAXIMET[i], 1);
		TextDrawUseBox(TAXIMET[i], 1);
		TextDrawBoxColor(TAXIMET[i], 255);
		TextDrawTextSize(TAXIMET[i], 494.000000, 230.000000);

		TAXIMET2[i] = TextDrawCreate(470.000000, 360.000000, "$0");
		TextDrawBackgroundColor(TAXIMET2[i], 255);
		TextDrawFont(TAXIMET2[i], 1);
		TextDrawLetterSize(TAXIMET2[i], 0.500000, 1.000000);
		TextDrawColor(TAXIMET2[i], -1);
		TextDrawSetOutline(TAXIMET2[i], 0);
		TextDrawSetProportional(TAXIMET2[i], 1);
		TextDrawSetShadow(TAXIMET2[i], 1);

		santiago1[i] = TextDrawCreate(620.447937, 337.500030, "usebox");
		TextDrawLetterSize(santiago1[i], 0.000000, 4.609256);
		TextDrawTextSize(santiago1[i], 539.610473, 0.000000);
		TextDrawAlignment(santiago1[i], 1);
		TextDrawColor(santiago1[i], 0);
		TextDrawUseBox(santiago1[i], 1);
		TextDrawBoxColor(santiago1[i], 0x0B0B0BAA);
		TextDrawSetShadow(santiago1[i], 1);
		TextDrawSetOutline(santiago1[i], 0);
		TextDrawFont(santiago1[i], 0);

		santiago2[i] = TextDrawCreate(620.447998, 384.750000, "usebox");
		TextDrawLetterSize(santiago2[i], 0.000000, 4.544444);
		TextDrawTextSize(santiago2[i], 539.610534, 0.000000);
		TextDrawAlignment(santiago2[i], 1);
		TextDrawColor(santiago2[i], -1);
		TextDrawUseBox(santiago2[i], 1);
		TextDrawBoxColor(santiago2[i], 0x0B0B0BAA);
		TextDrawSetShadow(santiago2[i], 0);
		TextDrawSetOutline(santiago2[i], 0);
		TextDrawFont(santiago2[i], 0);

		santiago3[i] = TextDrawCreate(588.930725, 404.833251, "KM/h");
		TextDrawLetterSize(santiago3[i], 0.321155, 0.958333);
		TextDrawAlignment(santiago3[i], 1);
		TextDrawColor(santiago3[i], -1);
		TextDrawSetShadow(santiago3[i], 0);
		TextDrawSetOutline(santiago3[i], 1);
		TextDrawBackgroundColor(santiago3[i], 51);
		TextDrawFont(santiago3[i], 1);
		TextDrawSetProportional(santiago3[i], 1);

		santiago4[i] = TextDrawCreate(549.106384, 384.416839, "Velocimetro");
		TextDrawLetterSize(santiago4[i], 0.302412, 1.308332);
		TextDrawAlignment(santiago4[i], 1);
		TextDrawColor(santiago4[i], -1);
		TextDrawSetShadow(santiago4[i], 0);
		TextDrawSetOutline(santiago4[i], 1);
		TextDrawBackgroundColor(santiago4[i], 51);
		TextDrawFont(santiago4[i], 1);
		TextDrawSetProportional(santiago4[i], 1);

		santiago5[i] = TextDrawCreate(558.008972, 399.583282, "0");
		TextDrawLetterSize(santiago5[i], 0.449999, 1.600000);
		TextDrawAlignment(santiago5[i], 1);
		TextDrawColor(santiago5[i], -1);
		TextDrawSetShadow(santiago5[i], 0);
		TextDrawSetOutline(santiago5[i], 1);
		TextDrawBackgroundColor(santiago5[i], 51);
		TextDrawFont(santiago5[i], 1);
		TextDrawSetProportional(santiago5[i], 1);

		santiago6[i] = TextDrawCreate(546.296081, 337.166625, "Combustible");
		TextDrawLetterSize(santiago6[i], 0.321156, 1.424999);
		TextDrawAlignment(santiago6[i], 1);
		TextDrawColor(santiago6[i], -1);
		TextDrawSetShadow(santiago6[i], 0);
		TextDrawSetOutline(santiago6[i], 1);
		TextDrawBackgroundColor(santiago6[i], 51);
		TextDrawFont(santiago6[i], 1);
		TextDrawSetProportional(santiago6[i], 1);

		santiago7[i] = TextDrawCreate(548.638305, 352.333374, "0/100");
		TextDrawLetterSize(santiago7[i], 0.449999, 1.600000);
		TextDrawAlignment(santiago7[i], 1);
		TextDrawColor(santiago7[i], -1);
		TextDrawSetShadow(santiago7[i], 0);
		TextDrawSetOutline(santiago7[i], 1);
		TextDrawBackgroundColor(santiago7[i], 51);
		TextDrawFont(santiago7[i], 1);
		TextDrawSetProportional(santiago7[i], 1);

		CarreraT[i][0] = TextDrawCreate(138.875000, 339.833465, "usebox");
		TextDrawLetterSize(CarreraT[i][0], 0.000000, 9.340736);
		TextDrawTextSize(CarreraT[i][0], 36.125000, 0.000000);
		TextDrawAlignment(CarreraT[i][0], 1);
		TextDrawColor(CarreraT[i][0], 0);
		TextDrawUseBox(CarreraT[i][0], true);
		TextDrawBoxColor(CarreraT[i][0], -1);
		TextDrawSetShadow(CarreraT[i][0], 0);
		TextDrawSetOutline(CarreraT[i][0], 0);
		TextDrawFont(CarreraT[i][0], 0);

		CarreraT[i][1] = TextDrawCreate(137.000000, 341.583312, "usebox");
		TextDrawLetterSize(CarreraT[i][1], 0.000000, 8.951854);
		TextDrawTextSize(CarreraT[i][1], 37.375000, 0.000000);
		TextDrawAlignment(CarreraT[i][1], 1);
		TextDrawColor(CarreraT[i][1], 0);
		TextDrawUseBox(CarreraT[i][1], true);
		TextDrawBoxColor(CarreraT[i][1], 255);
		TextDrawSetShadow(CarreraT[i][1], 0);
		TextDrawSetOutline(CarreraT[i][1], 0);
		TextDrawFont(CarreraT[i][1], 0);

		CarreraT[i][2] = TextDrawCreate(48.750000, 350.583312, "-");
		TextDrawLetterSize(CarreraT[i][2], 5.385008, 0.789165);
		TextDrawAlignment(CarreraT[i][2], 1);
		TextDrawColor(CarreraT[i][2], -1);
		TextDrawSetShadow(CarreraT[i][2], -3);
		TextDrawSetOutline(CarreraT[i][2], 0);
		TextDrawBackgroundColor(CarreraT[i][2], 51);
		TextDrawFont(CarreraT[i][2], 2);
		TextDrawSetProportional(CarreraT[i][2], 1);

		CarreraT[i][3] = TextDrawCreate(50.625000, 341.833343, "Vuelta: 0/5");
		TextDrawLetterSize(CarreraT[i][3], 0.285624, 0.795000);
		TextDrawAlignment(CarreraT[i][3], 1);
		TextDrawColor(CarreraT[i][3], -1);
		TextDrawSetShadow(CarreraT[i][3], 0);
		TextDrawSetOutline(CarreraT[i][3], 1);
		TextDrawBackgroundColor(CarreraT[i][3], 51);
		TextDrawFont(CarreraT[i][3], 2);
		TextDrawSetProportional(CarreraT[i][3], 1);

		CarreraT[i][4] = TextDrawCreate(49.375000, 358.750152, "POSICION");
		TextDrawLetterSize(CarreraT[i][4], 0.381249, 1.308333);
		TextDrawAlignment(CarreraT[i][4], 1);
		TextDrawColor(CarreraT[i][4], -1);
		TextDrawSetShadow(CarreraT[i][4], 0);
		TextDrawSetOutline(CarreraT[i][4], 1);
		TextDrawBackgroundColor(CarreraT[i][4], 51);
		TextDrawFont(CarreraT[i][4], 2);
		TextDrawSetProportional(CarreraT[i][4], 1);

		CarreraT[i][5] = TextDrawCreate(71.250000, 368.666687, "0/0");
		TextDrawLetterSize(CarreraT[i][5], 0.406249, 3.408334);
		TextDrawAlignment(CarreraT[i][5], 1);
		TextDrawColor(CarreraT[i][5], -1);
		TextDrawSetShadow(CarreraT[i][5], 0);
		TextDrawSetOutline(CarreraT[i][5], 1);
		TextDrawBackgroundColor(CarreraT[i][5], 51);
		TextDrawFont(CarreraT[i][5], 2);
		TextDrawSetProportional(CarreraT[i][5], 1);

		CarreraT[i][6] = TextDrawCreate(46.875000, 409.500061, "-");
		TextDrawLetterSize(CarreraT[i][6], 5.718753, -0.995832);
		TextDrawAlignment(CarreraT[i][6], 1);
		TextDrawColor(CarreraT[i][6], -1);
		TextDrawSetShadow(CarreraT[i][6], 0);
		TextDrawSetOutline(CarreraT[i][6], 1);
		TextDrawBackgroundColor(CarreraT[i][6], 51);
		TextDrawFont(CarreraT[i][6], 2);
		TextDrawSetProportional(CarreraT[i][6], 1);

		CarreraT[i][7] = TextDrawCreate(66.250000, 408.333251, "0:0");
		TextDrawLetterSize(CarreraT[i][7], 0.531250, 1.250000);
		TextDrawAlignment(CarreraT[i][7], 1);
		TextDrawColor(CarreraT[i][7], -1);
		TextDrawSetShadow(CarreraT[i][7], 0);
		TextDrawSetOutline(CarreraT[i][7], 2);
		TextDrawBackgroundColor(CarreraT[i][7], 51);
		TextDrawFont(CarreraT[i][7], 2);
		TextDrawSetProportional(CarreraT[i][7], 1);
		
		Barrased[i] 	= CreateProgressBar(501.00, 101.00, 47.50, 3.20, 15068927, 100.0);
		Barrahambre[i] 	= CreateProgressBar(559.00, 101.00, 46.50, 3.20, 9179647, 100.0);
		XP[i]			= CreateProgressBar(1.00, 444.00, 638.50, 2.50, 0xEB0000FF, 100.0);
		speedbar[i]	 	= CreateProgressBar(546.00, 419.00, 67.50,  2.50, -8978177, 100.0);
		speedbar2[i]	= CreateProgressBar(546.00, 374.00, 67.50,  2.50, 10457087, 100.0);
	    Cargando[i] 	= CreateProgressBar(260.000000, 355.000000, 120.500000, 3.200000, 16711935, 100);
	    Descargando[i] 	= CreateProgressBar(260.000000, 355.000000, 120.500000, 3.200000, 16711935, 100);
	}
	return 1;
}
VandZone is offline   Reply With Quote
Old 12/01/2020, 04:43 PM   #2
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,229
Reputation: 205
Default Re: NEED HELP! I HAVE THIS PROBLEM

In order to find the faulty function, compile with debug info. For pawno editor, read this: https://github.com/Zeex/samp-plugin-...ith-debug-info
For other editors, pass "-d3" flag.
__________________
Calisthenics is offline   Reply With Quote
Old 12/01/2020, 04:46 PM   #3
DomagojSellug
Huge Clucker
 
DomagojSellug's Avatar
 
Join Date: Sep 2016
Location: Croatia
Posts: 255
Reputation: 22
Default Re: NEED HELP! I HAVE THIS PROBLEM

You can also use plugins such as nativechecker and crashdetect to easily find the issue.
__________________

San Andreas Multiplayer server based off Counter Strike: Global Offensive.

Join us today!

DISCORD: discord.sa-go.info
WEBSITE: http://sa-go.info
SERVER IP: samp.sa-go.info
DomagojSellug is offline   Reply With Quote
Old 12/01/2020, 08:16 PM   #4
VandZone
Little Clucker
 
Join Date: Jan 2020
Posts: 12
Reputation: 0
Thumbs up Re: NEED HELP! I HAVE THIS PROBLEM

Quote:
Originally Posted by DomagojSellug View Post
You can also use plugins such as nativechecker and crashdetect to easily find the issue.
Bro, thanks. right now appears this
Code:
[18:09:18]    Error: Function not registered: 'Streamer_CallbackHook'
[18:09:18]    Error: Function not registered: 'CreateDynamicObject'
[18:09:18]    Error: Function not registered: 'SetDynamicObjectMaterial'
[18:09:18]    Error: Function not registered: 'DestroyDynamicObject'
[18:09:18]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[18:09:18]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[18:09:18]    Error: Function not registered: 'DestroyDynamicPickup'
[18:09:18]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[18:09:18]    Error: Function not registered: 'CreateDynamicPickup'
[18:09:18]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[18:09:18]    Error: Function not registered: 'MoveDynamicObject'
[18:09:18]    Error: Function not registered: 'IsValidDynamicObject'
[18:09:18]    Error: Function not registered: 'CreateDynamicActor'
[18:09:18]    Error: Function not registered: 'CreateDynamicRectangle'
[18:09:18]    Error: Function not registered: 'CreateDynamicMapIcon'
[18:09:18]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[18:09:18]    Error: Function not registered: 'IsPlayerInDynamicArea'
[18:09:18]    Error: Function not registered: 'SetDynamicActorHealth'
[18:09:18]    Error: Function not registered: 'DestroyDynamicMapIcon'
[18:09:18]    Error: Function not registered: 'DestroyDynamicActor'
[18:09:18]    Error: Function not registered: 'GetDynamicObjectPos'

the solution may be to change the version of the streamer plugin??
VandZone is offline   Reply With Quote
Old 12/01/2020, 08:21 PM   #5
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,229
Reputation: 205
Default Re: NEED HELP! I HAVE THIS PROBLEM

Quote:
Originally Posted by DomagojSellug View Post
You can also use plugins such as nativechecker and crashdetect to easily find the issue.
Nativechecker is only useful for run time error 19. Since the server was started, it is not needed.
Crashdetect is already loaded since it gave the [debug] messages in server log.

Quote:
Originally Posted by VandZone View Post
Bro, thanks. right now appears this
Code:
[18:09:18]    Error: Function not registered: 'Streamer_CallbackHook'
[18:09:18]    Error: Function not registered: 'CreateDynamicObject'
[18:09:18]    Error: Function not registered: 'SetDynamicObjectMaterial'
[18:09:18]    Error: Function not registered: 'DestroyDynamicObject'
[18:09:18]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[18:09:18]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[18:09:18]    Error: Function not registered: 'DestroyDynamicPickup'
[18:09:18]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[18:09:18]    Error: Function not registered: 'CreateDynamicPickup'
[18:09:18]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[18:09:18]    Error: Function not registered: 'MoveDynamicObject'
[18:09:18]    Error: Function not registered: 'IsValidDynamicObject'
[18:09:18]    Error: Function not registered: 'CreateDynamicActor'
[18:09:18]    Error: Function not registered: 'CreateDynamicRectangle'
[18:09:18]    Error: Function not registered: 'CreateDynamicMapIcon'
[18:09:18]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[18:09:18]    Error: Function not registered: 'IsPlayerInDynamicArea'
[18:09:18]    Error: Function not registered: 'SetDynamicActorHealth'
[18:09:18]    Error: Function not registered: 'DestroyDynamicMapIcon'
[18:09:18]    Error: Function not registered: 'DestroyDynamicActor'
[18:09:18]    Error: Function not registered: 'GetDynamicObjectPos'

the solution may be to change the version of the streamer plugin??
False "errors" because you did not load the nativechecker plugin last. If you want to know in which function to look at for the run time error 4, you need to compile with debug info as I mentioned in my previous post.

Judging by the number of arguments, it seems `CreateProgressBar` causing this but I cannot be certain unless you post a more detailed crashdetect log.
__________________
Calisthenics is offline   Reply With Quote
Old 12/01/2020, 08:55 PM   #6
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,883
Reputation: 1321
Default Re: NEED HELP! I HAVE THIS PROBLEM

He has a lot of problems here.
Pottus is offline   Reply With Quote
Old 12/01/2020, 09:42 PM   #7
VandZone
Little Clucker
 
Join Date: Jan 2020
Posts: 12
Reputation: 0
Default Re: NEED HELP! I HAVE THIS PROBLEM

Quote:
Originally Posted by Calisthenics View Post
Nativechecker is only useful for run time error 19. Since the server was started, it is not needed.
Crashdetect is already loaded since it gave the [debug] messages in server log.



False "errors" because you did not load the nativechecker plugin last. If you want to know in which function to look at for the run time error 4, you need to compile with debug info as I mentioned in my previous post.

Judging by the number of arguments, it seems `CreateProgressBar` causing this but I cannot be certain unless you post a more detailed crashdetect log.

I don't understand much about "-d3"

now you see this in the compiler
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 28504 bytes
Code size: 4249152 bytes
Data size: 9893160 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:14187200 bytes

help me
VandZone is offline   Reply With Quote
Old 13/01/2020, 11:18 AM   #8
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,229
Reputation: 205
Default Re: NEED HELP! I HAVE THIS PROBLEM

Quote:
Originally Posted by VandZone View Post
I don't understand much about "-d3"

now you see this in the compiler
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 28504 bytes
Code size: 4249152 bytes
Data size: 9893160 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:14187200 bytes

help me
Restart the server and wait for new [debug] logs, then post it here.
__________________
Calisthenics is offline   Reply With Quote
Old 14/01/2020, 02:02 AM   #9
VandZone
Little Clucker
 
Join Date: Jan 2020
Posts: 12
Reputation: 0
Default Re: NEED HELP! I HAVE THIS PROBLEM

Quote:
Originally Posted by Calisthenics View Post
Restart the server and wait for new [debug] logs, then post it here.
[22:00:52] [debug] Run time error 4: "Array index out of bounds"
[22:00:52] [debug] Attempted to read/write array element at index 682 in array of size 682
[22:00:52] [debug] AMX backtrace:
[22:00:52] [debug] #0 00002b08 in ?? (1141407744, 1137803264, 1116143616, 1075838976, -8978177, 1120403456) in Vz.amx
[22:00:52] [debug] #1 0009f0f0 in public cargartodo () in Vz.amx

the same, and I don't know how to fix it, please help
VandZone is offline   Reply With Quote
Old 14/01/2020, 06:44 AM   #10
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,229
Reputation: 205
Default Re: NEED HELP! I HAVE THIS PROBLEM

Quote:
Originally Posted by VandZone View Post
I don't understand much about "-d3"

now you see this in the compiler
I saw the output and thought you compiled with -d3, now I realized that it was given due to the recursion.

Do you use pawno editor or any other? For pawno editor, you have to create a file named pawn.cfg and write -d3 in it. The file should be located in pawno folder.
__________________
Calisthenics is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 02:38 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.