18.05.2020, 19:58
Hello, I have been reviewing the code and I cannot find the error.
these are the errors that I get:
these are the errors that I get:
Quote:
C:\Users\Locucion\Desktop\servidores de samp\competitive_dm\gamemodes\DMC.pwn(245) : error 001: expected token: ",", but found "]" C:\Users\Locucion\Desktop\servidores de samp\competitive_dm\gamemodes\DMC.pwn(245) : error 029: invalid expression, assumed zero C:\Users\Locucion\Desktop\servidores de samp\competitive_dm\gamemodes\DMC.pwn(245) : error 029: invalid expression, assumed zero C:\Users\Locucion\Desktop\servidores de samp\competitive_dm\gamemodes\DMC.pwn(245) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
Quote:
public OnPlayerConnect(playerid) { Stats[playerid][0] = TextDrawCreate(10.000000, 129.644470, "box"); TextDrawLetterSize(Stats[playerid][0], 0.000000, 22.649972); TextDrawTextSize(Stats[playerid][0], 199.000000, 0.000000); TextDrawAlignment(Stats[playerid][0], 1); TextDrawColor(Stats[playerid][0], 255); TextDrawUseBox(Stats[playerid][0], 1); TextDrawBoxColor(Stats[playerid][0]], -2139062017); TextDrawSetShadow(Stats[playerid][0], 0); TextDrawSetOutline(Stats[playerid][0], 0); TextDrawBackgroundColor(Stats[playerid][0], -2139062017); TextDrawFont(Stats[playerid][0], 1); TextDrawSetProportional(Stats[playerid][0], 1); TextDrawSetShadow(Stats[playerid][0], 0); Stats[playerid][1] = TextDrawCreate(14.000000, 133.844421, ""); TextDrawLetterSize(Stats[playerid][1], 0.000000, 0.000000); TextDrawTextSize(Stats[playerid][1], 90.000000, 90.000000); TextDrawAlignment(Stats[playerid][1], 1); TextDrawColor(Stats[playerid][1], -1); TextDrawSetShadow(Stats[playerid][1], 0); TextDrawSetOutline(Stats[playerid][1], 0); TextDrawBackgroundColor(Stats[playerid][1], 255); TextDrawFont(Stats[playerid][1], 5); TextDrawSetProportional(Stats[playerid][1], 0); TextDrawSetShadow(Stats[playerid][1], 0); TextDrawSetPreviewModel(Stats[playerid][1], 250); TextDrawSetPreviewRot(Stats[playerid][1], 0.000000, 0.000000, 0.000000, 1.000000); Stats[playerid][2] = TextDrawCreate(125.300018, 134.111206, "Nombre"); TextDrawLetterSize(Stats[playerid][2], 0.400000, 1.600000); TextDrawAlignment(Stats[playerid][2], 1); TextDrawColor(Stats[playerid][2], -16776961); TextDrawSetShadow(Stats[playerid][2], 0); TextDrawSetOutline(Stats[playerid][2], 3); TextDrawBackgroundColor(Stats[playerid][2], 255); TextDrawFont(Stats[playerid][2], 3); TextDrawSetProportional(Stats[playerid][2], 1); TextDrawSetShadow(Stats[playerid][2], 0); Stats[playerid][3] = TextDrawCreate(-268.299865, 596.487365, "box"); TextDrawLetterSize(Stats[playerid][3], 0.000000, 10.000000); TextDrawTextSize(Stats[playerid][3], -174.000000, 0.000000); TextDrawAlignment(Stats[playerid][3], 1); TextDrawColor(Stats[playerid][3], -1); TextDrawUseBox(Stats[playerid][3], 1); TextDrawBoxColor(Stats[playerid][3], 255); TextDrawSetShadow(Stats[playerid][3], 0); TextDrawSetOutline(Stats[playerid][3], 0); TextDrawBackgroundColor(Stats[playerid][3], 255); TextDrawFont(Stats[playerid][3], 1); TextDrawSetProportional(Stats[playerid][3], 1); TextDrawSetShadow(Stats[playerid][3], 0); Stats[playerid][4] = TextDrawCreate(13.500000, 228.577819, "Kills:999999"); TextDrawLetterSize(Stats[playerid][4], 0.398500, 1.612444); TextDrawAlignment(Stats[playerid][4], 1); TextDrawColor(Stats[playerid][4], -1); TextDrawSetShadow(Stats[playerid][4], 0); TextDrawSetOutline(Stats[playerid][4], 3); TextDrawBackgroundColor(Stats[playerid][4], 255); TextDrawFont(Stats[playerid][4], 3); TextDrawSetProportional(Stats[playerid][4], 1); TextDrawSetShadow(Stats[playerid][4], 0); Stats[playerid][5] = TextDrawCreate(13.500000, 246.622283, "Muertes:999999"); TextDrawLetterSize(Stats[playerid][5], 0.398000, 1.612444); TextDrawAlignment(Stats[playerid][5], 1); TextDrawColor(Stats[playerid][5], -1); TextDrawSetShadow(Stats[playerid][5], 0); TextDrawSetOutline(Stats[playerid][5], 3); TextDrawBackgroundColor(Stats[playerid][5], 255); TextDrawFont(Stats[playerid][5], 3); TextDrawSetProportional(Stats[playerid][5], 1); TextDrawSetShadow(Stats[playerid][5], 0); Stats[playerid][6] = TextDrawCreate(13.500000, 265.911193, "KD:999999"); TextDrawLetterSize(Stats[playerid][6], 0.398000, 1.612444); TextDrawAlignment(Stats[playerid][6], 1); TextDrawColor(Stats[playerid][6], -1); TextDrawSetShadow(Stats[playerid][6], 0); TextDrawSetOutline(Stats[playerid][6], 3); TextDrawBackgroundColor(Stats[playerid][6], 255); TextDrawFont(Stats[playerid][6], 3); TextDrawSetProportional(Stats[playerid][6], 1); TextDrawSetShadow(Stats[playerid][6], 0); Stats[playerid][7] = TextDrawCreate(13.000000, 283.955657, "Nivel:999999"); TextDrawLetterSize(Stats[playerid][7], 0.398000, 1.612444); TextDrawAlignment(Stats[playerid][7], 1); TextDrawColor(Stats[playerid][7], -1); TextDrawSetShadow(Stats[playerid][7], 0); TextDrawSetOutline(Stats[playerid][7], 3); TextDrawBackgroundColor(Stats[playerid][7], 255); TextDrawFont(Stats[playerid][7], 3); TextDrawSetProportional(Stats[playerid][7], 1); TextDrawSetShadow(Stats[playerid][7], 0); Stats[playerid][8] = TextDrawCreate(104.000000, 310.711181, "Quitar"); TextDrawLetterSize(Stats[playerid][8], 0.400000, 1.600000); TextDrawTextSize(Stats[playerid][8], 0.000000, 61.000000); TextDrawAlignment(Stats[playerid][8], 2); TextDrawColor(Stats[playerid][8], -1); TextDrawUseBox(Stats[playerid][8], 1); TextDrawBoxColor(Stats[playerid][8], 255); TextDrawSetShadow(Stats[playerid][8], 0); TextDrawSetOutline(Stats[playerid][8], 2); TextDrawBackgroundColor(Stats[playerid][8], 255); TextDrawFont(Stats[playerid][8], 3); TextDrawSetProportional(Stats[playerid][8], 1); TextDrawSetShadow(Stats[playerid][8], 0); TextDrawSetSelectable(Stats[playerid][8], true); return 1; } |