14.07.2018, 20:07
Problem: This warning is confusing me, I literally used the global playertextdrraw "TextDrawShowForPlayer()" and there was no warning. please aassist
Quote:
./assets/functions.pwn(271) : warning 213: tag mismatch ./assets/functions.pwn(272) : warning 213: tag mismatch ./assets/functions.pwn(273) : warning 213: tag mismatch ./assets/functions.pwn(274) : warning 213: tag mismatch ./assets/functions.pwn(275) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Warnings. |
Код:
new Text:Dealertext1[MAX_PLAYERS],Text:Dealertexton1[MAX_PLAYERS],Text:Dealertext2[MAX_PLAYERS],Text:Dealertexon2[MAX_PLAYERS],Text:Dealerplayer[MAX_PLAYERS]; Dealertext1[i] = TextDrawCreate(455.000000, 170.000000, "BETS:"); TextDrawBackgroundColor(Dealertext1[i], 255); TextDrawFont(Dealertext1[i], 1); TextDrawLetterSize(Dealertext1[i], 0.559999, 1.700000); TextDrawColor(Dealertext1[i], -1); TextDrawSetOutline(Dealertext1[i], 0); TextDrawSetProportional(Dealertext1[i], 1); TextDrawSetShadow(Dealertext1[i], 1); TextDrawUseBox(Dealertext1[i], 1); TextDrawBoxColor(Dealertext1[i], 255); TextDrawTextSize(Dealertext1[i], 627.000000, 10.000000); Dealertexton1[i] = TextDrawCreate(508.000000, 175.000000, "ON/OFF"); TextDrawBackgroundColor(Dealertexton1[i], 255); TextDrawFont(Dealertexton1[i], 1); TextDrawLetterSize(Dealertexton1[i], 0.500000, 1.000000); TextDrawColor(Dealertexton1[i], -16776961); TextDrawSetOutline(Dealertexton1[i], 0); TextDrawSetProportional(Dealertexton1[i], 1); TextDrawSetShadow(Dealertexton1[i], 1); Dealertext2[i] = TextDrawCreate(455.000000, 190.000000, "NUMBERS:"); TextDrawBackgroundColor(Dealertext2[i], 255); TextDrawFont(Dealertext2[i], 1); TextDrawLetterSize(Dealertext2[i], 0.519999, 1.600000); TextDrawColor(Dealertext2[i], -1); TextDrawSetOutline(Dealertext2[i], 0); TextDrawSetProportional(Dealertext2[i], 1); TextDrawSetShadow(Dealertext2[i], 1); TextDrawUseBox(Dealertext2[i], 1); TextDrawBoxColor(Dealertext2[i], 255); TextDrawTextSize(Dealertext2[i], 627.000000, 0.000000); Dealertexon2[i] = TextDrawCreate(545.000000, 194.000000, "ON/OFF"); TextDrawBackgroundColor(Dealertexon2[i], 255); TextDrawFont(Dealertexon2[i], 1); TextDrawLetterSize(Dealertexon2[i], 0.500000, 1.000000); TextDrawColor(Dealertexon2[i], -16776961); TextDrawSetOutline(Dealertexon2[i], 0); TextDrawSetProportional(Dealertexon2[i], 1); TextDrawSetShadow(Dealertexon2[i], 1); Dealerplayer[i] = TextDrawCreate(455.000000, 209.000000, "Playerbets"); TextDrawBackgroundColor(Dealerplayer[i], 255); TextDrawFont(Dealerplayer[i], 1); TextDrawLetterSize(Dealerplayer[i], 0.500000, 1.000000); TextDrawColor(Dealerplayer[i], -1); TextDrawSetOutline(Dealerplayer[i], 0); TextDrawSetProportional(Dealerplayer[i], 1); TextDrawSetShadow(Dealerplayer[i], 1); TextDrawUseBox(Dealerplayer[i], 1); TextDrawBoxColor(Dealerplayer[i], 255); TextDrawTextSize(Dealerplayer[i], 627.000000, 0.000000);
Код:
Код:
PlayerLoop(i) { if(joinedtable[i] == true && tableid[i] == tableid[playerid]) { //Line 271 PlayerTextDrawShow(i,Dealertext1[playerid]); // line 272 PlayerTextDrawShow(i,Dealertext2[playerid]); // line 273 PlayerTextDrawShow(i,Dealertexton1[playerid]); // line 274 PlayerTextDrawShow(i,Dealertexon2[playerid]); // line 275 PlayerTextDrawShow(i,Dealerplayer[playerid]); }