GameMod

Započeo Lyzzi, April 29, 2020, 11:30:38 PRE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Problem(error/warning): [pawn]C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(302) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(314) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(326) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(338) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(349) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(360) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(371) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(383) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(395) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(407) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(419) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(431) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(443) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(455) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(467) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(479) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(491) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(503) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(514) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(526) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(537) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(548) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(560) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(572) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(583) : error 010: invalid function or declaration
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(595) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.[/pawn]


Dio skripte: Evo OnPlayerSpawn
[pawn][ pawn ]public OnPlayerSpawn(playerid)
{
    for(new i; i < 38; i++) TextDrawShowForPlayer(playerid,TDEditor_TD[playerid]);
    return 1;
}[ /pawn ][/pawn]

Evo gde je definisan TD
[pawn]//================================TextDrawove===================================

new PlayerText:TDEditor_TD[MAX_PLAYERS][38];[/pawn]

Evo gde su TD-Ove postavljene
[pawn]public OnPlayerConnect(playerid)
{
    return 1;
}
//========================================TextDraw IG===========================
TDEditor_TD[0] = TextDrawCreate(-24.500000, 428.349914, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD[0], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[0], 712.000000, 16.000000);
TextDrawAlignment(TDEditor_TD[0], 1);
TextDrawColor(TDEditor_TD[0], 168430335);
TextDrawSetShadow(TDEditor_TD[0], 0);
TextDrawSetOutline(TDEditor_TD[0], 0);
TextDrawBackgroundColor(TDEditor_TD[0], 255);
TextDrawFont(TDEditor_TD[0], 4);
TextDrawSetProportional(TDEditor_TD[0], 0);
TextDrawSetShadow(TDEditor_TD[0], 0);

TDEditor_TD[1] = TextDrawCreate(11.500000, 447.600128, "particle:lamp_shad_64");
TextDrawLetterSize(TDEditor_TD[1], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[1], 654.000000, -19.179981);
TextDrawAlignment(TDEditor_TD[1], 1);
TextDrawColor(TDEditor_TD[1], 887058000);
TextDrawSetShadow(TDEditor_TD[1], 0);
TextDrawSetOutline(TDEditor_TD[1], 0);
TextDrawBackgroundColor(TDEditor_TD[1], 255);
TextDrawFont(TDEditor_TD[1], 4);
TextDrawSetProportional(TDEditor_TD[1], 0);
TextDrawSetShadow(TDEditor_TD[1], 0);

TDEditor_TD[2] = TextDrawCreate(209.699920, 431.450103, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD[2], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[2], 213.000000, 9.580013);
TextDrawAlignment(TDEditor_TD[2], 1);
TextDrawColor(TDEditor_TD[2], 168430335);
TextDrawSetShadow(TDEditor_TD[2], 0);
TextDrawSetOutline(TDEditor_TD[2], 0);
TextDrawBackgroundColor(TDEditor_TD[2], 255);
TextDrawFont(TDEditor_TD[2], 4);
TextDrawSetProportional(TDEditor_TD[2], 0);
TextDrawSetShadow(TDEditor_TD[2], 0);

TDEditor_TD[3] = TextDrawCreate(32.900074, 429.462402, "BLACKSTREET");
TextDrawLetterSize(TDEditor_TD[3], 0.209000, 0.808125);
TextDrawAlignment(TDEditor_TD[3], 2);
TextDrawColor(TDEditor_TD[3], 887058175);
TextDrawSetShadow(TDEditor_TD[3], 1);
TextDrawSetOutline(TDEditor_TD[3], 0);
TextDrawBackgroundColor(TDEditor_TD[3], 255);
TextDrawFont(TDEditor_TD[3], 1);
TextDrawSetProportional(TDEditor_TD[3], 1);
TextDrawSetShadow(TDEditor_TD[3], 1);

TDEditor_TD[4] = TextDrawCreate(33.100070, 434.962738, "HARDPLAY");
TextDrawLetterSize(TDEditor_TD[4], 0.209000, 0.808125);
TextDrawAlignment(TDEditor_TD[4], 2);
TextDrawColor(TDEditor_TD[4], -1);
TextDrawSetShadow(TDEditor_TD[4], 1);
TextDrawSetOutline(TDEditor_TD[4], 0);
TextDrawBackgroundColor(TDEditor_TD[4], 255);
TextDrawFont(TDEditor_TD[4], 1);
TextDrawSetProportional(TDEditor_TD[4], 1);
TextDrawSetShadow(TDEditor_TD[4], 1);

TDEditor_TD[5] = TextDrawCreate(87.700111, 433.724975, "HAPPYGAME:");
TextDrawLetterSize(TDEditor_TD[5], 0.143999, 0.573125);
TextDrawAlignment(TDEditor_TD[5], 2);
TextDrawColor(TDEditor_TD[5], 887058175);
TextDrawSetShadow(TDEditor_TD[5], 1);
TextDrawSetOutline(TDEditor_TD[5], 0);
TextDrawBackgroundColor(TDEditor_TD[5], 255);
TextDrawFont(TDEditor_TD[5], 1);
TextDrawSetProportional(TDEditor_TD[5], 1);
TextDrawSetShadow(TDEditor_TD[5], 1);

TDEditor_TD[6] = TextDrawCreate(1.799999, 425.074981, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[6], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[6], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[6], 1);
TextDrawColor(TDEditor_TD[6], -84215168);
TextDrawSetShadow(TDEditor_TD[6], 0);
TextDrawSetOutline(TDEditor_TD[6], 0);
TextDrawBackgroundColor(TDEditor_TD[6], 255);
TextDrawFont(TDEditor_TD[6], 4);
TextDrawSetProportional(TDEditor_TD[6], 0);
TextDrawSetShadow(TDEditor_TD[6], 0);

TDEditor_TD[7] = TextDrawCreate(47.699996, 425.137512, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[7], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[7], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[7], 1);
TextDrawColor(TDEditor_TD[7], -84215168);
TextDrawSetShadow(TDEditor_TD[7], 0);
TextDrawSetOutline(TDEditor_TD[7], 0);
TextDrawBackgroundColor(TDEditor_TD[7], 255);
TextDrawFont(TDEditor_TD[7], 4);
TextDrawSetProportional(TDEditor_TD[7], 0);
TextDrawSetShadow(TDEditor_TD[7], 0);

TDEditor_TD[8] = TextDrawCreate(94.199981, 418.637542, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[8], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[8], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[8], 1);
TextDrawColor(TDEditor_TD[8], -84215168);
TextDrawSetShadow(TDEditor_TD[8], 0);
TextDrawSetOutline(TDEditor_TD[8], 0);
TextDrawBackgroundColor(TDEditor_TD[8], 255);
TextDrawFont(TDEditor_TD[8], 4);
TextDrawSetProportional(TDEditor_TD[8], 0);
TextDrawSetShadow(TDEditor_TD[8], 0);

TDEditor_TD[9] = TextDrawCreate(126.199981, 415.137542, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[9], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[9], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[9], 1);
TextDrawColor(TDEditor_TD[9], -84215168);
TextDrawSetShadow(TDEditor_TD[9], 0);
TextDrawSetOutline(TDEditor_TD[9], 0);
TextDrawBackgroundColor(TDEditor_TD[9], 255);
TextDrawFont(TDEditor_TD[9], 4);
TextDrawSetProportional(TDEditor_TD[9], 0);
TextDrawSetShadow(TDEditor_TD[9], 0);

TDEditor_TD[10] = TextDrawCreate(162.199981, 418.200042, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[10], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[10], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[10], 1);
TextDrawColor(TDEditor_TD[10], -84215168);
TextDrawSetShadow(TDEditor_TD[10], 0);
TextDrawSetOutline(TDEditor_TD[10], 0);
TextDrawBackgroundColor(TDEditor_TD[10], 255);
TextDrawFont(TDEditor_TD[10], 4);
TextDrawSetProportional(TDEditor_TD[10], 0);
TextDrawSetShadow(TDEditor_TD[10], 0);

TDEditor_TD[11] = TextDrawCreate(195.000091, 418.475006, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[11], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[11], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[11], 1);
TextDrawColor(TDEditor_TD[11], -84215216);
TextDrawSetShadow(TDEditor_TD[11], 0);
TextDrawSetOutline(TDEditor_TD[11], 0);
TextDrawBackgroundColor(TDEditor_TD[11], 255);
TextDrawFont(TDEditor_TD[11], 4);
TextDrawSetProportional(TDEditor_TD[11], 0);
TextDrawSetShadow(TDEditor_TD[11], 0);

TDEditor_TD[12] = TextDrawCreate(603.500244, 421.200012, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[12], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[12], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[12], 1);
TextDrawColor(TDEditor_TD[12], -84215216);
TextDrawSetShadow(TDEditor_TD[12], 0);
TextDrawSetOutline(TDEditor_TD[12], 0);
TextDrawBackgroundColor(TDEditor_TD[12], 255);
TextDrawFont(TDEditor_TD[12], 4);
TextDrawSetProportional(TDEditor_TD[12], 0);
TextDrawSetShadow(TDEditor_TD[12], 0);

TDEditor_TD[13] = TextDrawCreate(564.000244, 429.750000, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[13], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[13], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[13], 1);
TextDrawColor(TDEditor_TD[13], -84215216);
TextDrawSetShadow(TDEditor_TD[13], 0);
TextDrawSetOutline(TDEditor_TD[13], 0);
TextDrawBackgroundColor(TDEditor_TD[13], 255);
TextDrawFont(TDEditor_TD[13], 4);
TextDrawSetProportional(TDEditor_TD[13], 0);
TextDrawSetShadow(TDEditor_TD[13], 0);

TDEditor_TD[14] = TextDrawCreate(534.000244, 425.812500, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[14], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[14], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[14], 1);
TextDrawColor(TDEditor_TD[14], -84215184);
TextDrawSetShadow(TDEditor_TD[14], 0);
TextDrawSetOutline(TDEditor_TD[14], 0);
TextDrawBackgroundColor(TDEditor_TD[14], 255);
TextDrawFont(TDEditor_TD[14], 4);
TextDrawSetProportional(TDEditor_TD[14], 0);
TextDrawSetShadow(TDEditor_TD[14], 0);

TDEditor_TD[15] = TextDrawCreate(496.400299, 427.399963, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[15], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[15], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[15], 1);
TextDrawColor(TDEditor_TD[15], -84215184);
TextDrawSetShadow(TDEditor_TD[15], 0);
TextDrawSetOutline(TDEditor_TD[15], 0);
TextDrawBackgroundColor(TDEditor_TD[15], 255);
TextDrawFont(TDEditor_TD[15], 4);
TextDrawSetProportional(TDEditor_TD[15], 0);
TextDrawSetShadow(TDEditor_TD[15], 0);

TDEditor_TD[16] = TextDrawCreate(71.499885, 432.362365, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD[16], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[16], 49.259956, 8.499987);
TextDrawAlignment(TDEditor_TD[16], 1);
TextDrawColor(TDEditor_TD[16], 887057936);
TextDrawSetShadow(TDEditor_TD[16], 0);
TextDrawSetOutline(TDEditor_TD[16], 0);
TextDrawBackgroundColor(TDEditor_TD[16], 255);
TextDrawFont(TDEditor_TD[16], 4);
TextDrawSetProportional(TDEditor_TD[16], 0);
TextDrawSetShadow(TDEditor_TD[16], 0);

TDEditor_TD[17] = TextDrawCreate(113.299705, 433.899932, "OFF");
TextDrawLetterSize(TDEditor_TD[17], 0.143999, 0.573125);
TextDrawAlignment(TDEditor_TD[17], 2);
TextDrawColor(TDEditor_TD[17], -1);
TextDrawSetShadow(TDEditor_TD[17], 1);
TextDrawSetOutline(TDEditor_TD[17], 0);
TextDrawBackgroundColor(TDEditor_TD[17], 255);
TextDrawFont(TDEditor_TD[17], 1);
TextDrawSetProportional(TDEditor_TD[17], 1);
TextDrawSetShadow(TDEditor_TD[17], 1);

TDEditor_TD[18] = TextDrawCreate(125.799064, 432.362365, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD[18], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[18], 79.000000, 8.000000);
TextDrawAlignment(TDEditor_TD[18], 1);
TextDrawColor(TDEditor_TD[18], 887057936);
TextDrawSetShadow(TDEditor_TD[18], 0);
TextDrawSetOutline(TDEditor_TD[18], 0);
TextDrawBackgroundColor(TDEditor_TD[18], 255);
TextDrawFont(TDEditor_TD[18], 4);
TextDrawSetProportional(TDEditor_TD[18], 0);
TextDrawSetShadow(TDEditor_TD[18], 0);

TDEditor_TD[19] = TextDrawCreate(140.800216, 433.899932, "HAPPYJOB:");
TextDrawLetterSize(TDEditor_TD[19], 0.143999, 0.573125);
TextDrawAlignment(TDEditor_TD[19], 2);
TextDrawColor(TDEditor_TD[19], 887058175);
TextDrawSetShadow(TDEditor_TD[19], 1);
TextDrawSetOutline(TDEditor_TD[19], 0);
TextDrawBackgroundColor(TDEditor_TD[19], 255);
TextDrawFont(TDEditor_TD[19], 1);
TextDrawSetProportional(TDEditor_TD[19], 1);
TextDrawSetShadow(TDEditor_TD[19], 1);

TDEditor_TD[20] = TextDrawCreate(154.699920, 433.975097, "DOSTAVLJAC_PICE");
TextDrawLetterSize(TDEditor_TD[20], 0.143999, 0.573125);
TextDrawAlignment(TDEditor_TD[20], 1);
TextDrawColor(TDEditor_TD[20], -1);
TextDrawSetShadow(TDEditor_TD[20], 1);
TextDrawSetOutline(TDEditor_TD[20], 0);
TextDrawBackgroundColor(TDEditor_TD[20], 255);
TextDrawFont(TDEditor_TD[20], 1);
TextDrawSetProportional(TDEditor_TD[20], 1);
TextDrawSetShadow(TDEditor_TD[20], 1);

TDEditor_TD[21] = TextDrawCreate(461.199981, 428.262542, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[21], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[21], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[21], 1);
TextDrawColor(TDEditor_TD[21], -84215168);
TextDrawSetShadow(TDEditor_TD[21], 0);
TextDrawSetOutline(TDEditor_TD[21], 0);
TextDrawBackgroundColor(TDEditor_TD[21], 255);
TextDrawFont(TDEditor_TD[21], 4);
TextDrawSetProportional(TDEditor_TD[21], 0);
TextDrawSetShadow(TDEditor_TD[21], 0);

TDEditor_TD[22] = TextDrawCreate(427.199981, 425.200042, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[22], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[22], 36.000000, 33.000000);
TextDrawAlignment(TDEditor_TD[22], 1);
TextDrawColor(TDEditor_TD[22], -84215168);
TextDrawSetShadow(TDEditor_TD[22], 0);
TextDrawSetOutline(TDEditor_TD[22], 0);
TextDrawBackgroundColor(TDEditor_TD[22], 255);
TextDrawFont(TDEditor_TD[22], 4);
TextDrawSetProportional(TDEditor_TD[22], 0);
TextDrawSetShadow(TDEditor_TD[22], 0);

TDEditor_TD[23] = TextDrawCreate(311.200225, 433.099884, "TEXTDRAWS_MADE_BY_GALARDO");
TextDrawLetterSize(TDEditor_TD[23], 0.151500, 0.595000);
TextDrawAlignment(TDEditor_TD[23], 2);
TextDrawColor(TDEditor_TD[23], -1);
TextDrawSetShadow(TDEditor_TD[23], 1);
TextDrawSetOutline(TDEditor_TD[23], 0);
TextDrawBackgroundColor(TDEditor_TD[23], 255);
TextDrawFont(TDEditor_TD[23], 1);
TextDrawSetProportional(TDEditor_TD[23], 1);
TextDrawSetShadow(TDEditor_TD[23], 1);

TDEditor_TD[24] = TextDrawCreate(190.700134, 442.450347, "particle:lamp_shad_64");
TextDrawLetterSize(TDEditor_TD[24], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[24], 249.000000, -10.750017);
TextDrawAlignment(TDEditor_TD[24], 1);
TextDrawColor(TDEditor_TD[24], 887057984);
TextDrawSetShadow(TDEditor_TD[24], 0);
TextDrawSetOutline(TDEditor_TD[24], 0);
TextDrawBackgroundColor(TDEditor_TD[24], 255);
TextDrawFont(TDEditor_TD[24], 4);
TextDrawSetProportional(TDEditor_TD[24], 0);
TextDrawSetShadow(TDEditor_TD[24], 0);

TDEditor_TD[25] = TextDrawCreate(228.700012, 428.200012, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[25], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[25], 46.000000, 19.000000);
TextDrawAlignment(TDEditor_TD[25], 1);
TextDrawColor(TDEditor_TD[25], -84215168);
TextDrawSetShadow(TDEditor_TD[25], 0);
TextDrawSetOutline(TDEditor_TD[25], 0);
TextDrawBackgroundColor(TDEditor_TD[25], 255);
TextDrawFont(TDEditor_TD[25], 4);
TextDrawSetProportional(TDEditor_TD[25], 0);
TextDrawSetShadow(TDEditor_TD[25], 0);

TDEditor_TD[26] = TextDrawCreate(379.200012, 429.950012, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[26], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[26], 46.000000, 19.000000);
TextDrawAlignment(TDEditor_TD[26], 1);
TextDrawColor(TDEditor_TD[26], -84215168);
TextDrawSetShadow(TDEditor_TD[26], 0);
TextDrawSetOutline(TDEditor_TD[26], 0);
TextDrawBackgroundColor(TDEditor_TD[26], 255);
TextDrawFont(TDEditor_TD[26], 4);
TextDrawSetProportional(TDEditor_TD[26], 0);
TextDrawSetShadow(TDEditor_TD[26], 0);

TDEditor_TD[27] = TextDrawCreate(337.200012, 430.825012, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[27], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[27], 46.000000, 19.000000);
TextDrawAlignment(TDEditor_TD[27], 1);
TextDrawColor(TDEditor_TD[27], -84215168);
TextDrawSetShadow(TDEditor_TD[27], 0);
TextDrawSetOutline(TDEditor_TD[27], 0);
TextDrawBackgroundColor(TDEditor_TD[27], 255);
TextDrawFont(TDEditor_TD[27], 4);
TextDrawSetProportional(TDEditor_TD[27], 0);
TextDrawSetShadow(TDEditor_TD[27], 0);

TDEditor_TD[28] = TextDrawCreate(295.200012, 428.200012, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[28], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[28], 46.000000, 19.000000);
TextDrawAlignment(TDEditor_TD[28], 1);
TextDrawColor(TDEditor_TD[28], -84215168);
TextDrawSetShadow(TDEditor_TD[28], 0);
TextDrawSetOutline(TDEditor_TD[28], 0);
TextDrawBackgroundColor(TDEditor_TD[28], 255);
TextDrawFont(TDEditor_TD[28], 4);
TextDrawSetProportional(TDEditor_TD[28], 0);
TextDrawSetShadow(TDEditor_TD[28], 0);

TDEditor_TD[29] = TextDrawCreate(269.200012, 429.075012, "ld_shtr:fstar");
TextDrawLetterSize(TDEditor_TD[29], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[29], 46.000000, 19.000000);
TextDrawAlignment(TDEditor_TD[29], 1);
TextDrawColor(TDEditor_TD[29], -84215168);
TextDrawSetShadow(TDEditor_TD[29], 0);
TextDrawSetOutline(TDEditor_TD[29], 0);
TextDrawBackgroundColor(TDEditor_TD[29], 255);
TextDrawFont(TDEditor_TD[29], 4);
TextDrawSetProportional(TDEditor_TD[29], 0);
TextDrawSetShadow(TDEditor_TD[29], 0);

TDEditor_TD[30] = TextDrawCreate(591.700439, 432.687438, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD[30], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[30], 79.000000, 8.000000);
TextDrawAlignment(TDEditor_TD[30], 1);
TextDrawColor(TDEditor_TD[30], 887057936);
TextDrawSetShadow(TDEditor_TD[30], 0);
TextDrawSetOutline(TDEditor_TD[30], 0);
TextDrawBackgroundColor(TDEditor_TD[30], 255);
TextDrawFont(TDEditor_TD[30], 4);
TextDrawSetProportional(TDEditor_TD[30], 0);
TextDrawSetShadow(TDEditor_TD[30], 0);

TDEditor_TD[31] = TextDrawCreate(605.599731, 433.862457, "DO_PLATE:");
TextDrawLetterSize(TDEditor_TD[31], 0.143999, 0.573125);
TextDrawAlignment(TDEditor_TD[31], 2);
TextDrawColor(TDEditor_TD[31], -1);
TextDrawSetShadow(TDEditor_TD[31], 1);
TextDrawSetOutline(TDEditor_TD[31], 0);
TextDrawBackgroundColor(TDEditor_TD[31], 255);
TextDrawFont(TDEditor_TD[31], 1);
TextDrawSetProportional(TDEditor_TD[31], 1);
TextDrawSetShadow(TDEditor_TD[31], 1);

TDEditor_TD[32] = TextDrawCreate(534.914306, 432.687438, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD[32], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[32], 54.518390, 8.000000);
TextDrawAlignment(TDEditor_TD[32], 1);
TextDrawColor(TDEditor_TD[32], 887057936);
TextDrawSetShadow(TDEditor_TD[32], 0);
TextDrawSetOutline(TDEditor_TD[32], 0);
TextDrawBackgroundColor(TDEditor_TD[32], 255);
TextDrawFont(TDEditor_TD[32], 4);
TextDrawSetProportional(TDEditor_TD[32], 0);
TextDrawSetShadow(TDEditor_TD[32], 0);

TDEditor_TD[33] = TextDrawCreate(479.517913, 432.687438, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD[33], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[33], 54.518390, 8.000000);
TextDrawAlignment(TDEditor_TD[33], 1);
TextDrawColor(TDEditor_TD[33], 887057936);
TextDrawSetShadow(TDEditor_TD[33], 0);
TextDrawSetOutline(TDEditor_TD[33], 0);
TextDrawBackgroundColor(TDEditor_TD[33], 255);
TextDrawFont(TDEditor_TD[33], 4);
TextDrawSetProportional(TDEditor_TD[33], 0);
TextDrawSetShadow(TDEditor_TD[33], 0);

TDEditor_TD[34] = TextDrawCreate(424.714569, 432.687438, "LD_SPAC:white");
TextDrawLetterSize(TDEditor_TD[34], 0.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[34], 54.518390, 8.000000);
TextDrawAlignment(TDEditor_TD[34], 1);
TextDrawColor(TDEditor_TD[34], 887057936);
TextDrawSetShadow(TDEditor_TD[34], 0);
TextDrawSetOutline(TDEditor_TD[34], 0);
TextDrawBackgroundColor(TDEditor_TD[34], 255);
TextDrawFont(TDEditor_TD[34], 4);
TextDrawSetProportional(TDEditor_TD[34], 0);
TextDrawSetShadow(TDEditor_TD[34], 0);

TDEditor_TD[35] = TextDrawCreate(433.099487, 433.874877, "GSEF:");
TextDrawLetterSize(TDEditor_TD[35], 0.143999, 0.573125);
TextDrawAlignment(TDEditor_TD[35], 2);
TextDrawColor(TDEditor_TD[35], 887058175);
TextDrawSetShadow(TDEditor_TD[35], 1);
TextDrawSetOutline(TDEditor_TD[35], 0);
TextDrawBackgroundColor(TDEditor_TD[35], 255);
TextDrawFont(TDEditor_TD[35], 1);
TextDrawSetProportional(TDEditor_TD[35], 1);
TextDrawSetShadow(TDEditor_TD[35], 1);

TDEditor_TD[36] = TextDrawCreate(489.902954, 433.874877, "BANKA:");
TextDrawLetterSize(TDEditor_TD[36], 0.143999, 0.573125);
TextDrawAlignment(TDEditor_TD[36], 2);
TextDrawColor(TDEditor_TD[36], 887058175);
TextDrawSetShadow(TDEditor_TD[36], 1);
TextDrawSetOutline(TDEditor_TD[36], 0);
TextDrawBackgroundColor(TDEditor_TD[36], 255);
TextDrawFont(TDEditor_TD[36], 1);
TextDrawSetProportional(TDEditor_TD[36], 1);
TextDrawSetShadow(TDEditor_TD[36], 1);

TDEditor_TD[37] = TextDrawCreate(543.496582, 433.849822, "GOLD:");
TextDrawLetterSize(TDEditor_TD[37], 0.143999, 0.573125);
TextDrawAlignment(TDEditor_TD[37], 2);
TextDrawColor(TDEditor_TD[37], 887058175);
TextDrawSetShadow(TDEditor_TD[37], 1);
TextDrawSetOutline(TDEditor_TD[37], 0);
TextDrawBackgroundColor(TDEditor_TD[37], 255);
TextDrawFont(TDEditor_TD[37], 1);
TextDrawSetProportional(TDEditor_TD[37], 1);
TextDrawSetShadow(TDEditor_TD[37], 1);
//==============================================================================
[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]//[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): l//
Poslednja Izmena: April 29, 2020, 22:57:57 POSLE PODNE od daddy.

Ubaci TD-ove pod OnGameModeInit

I stavi ovako pod OnPlayerSpawn

[pawn]
public OnPlayerSpawn(playerid)
{
    for(new i = 0; i < MAX_PLAYERS; i ++)
   {
      if(IsPlayerConnected(i))
      {
          TextDrawShowForPlayer(i,TDEditor_TD);
      }
   }
    return 1;
}
[/pawn]
Poslednja Izmena: April 29, 2020, 11:38:40 PRE PODNE od Teodor

Da napomenem da treba biti unutar callbacka, ne izvan njega :)

[pawn]public OnGameModeInit()
{
  //========================================TextDraw IG===========================
  TDEditor_TD[0] = TextDrawCreate(-24.500000, 428.349914, "LD_SPAC:white");
  TextDrawLetterSize(TDEditor_TD[0], 0.000000, 0.000000);
  TextDrawTextSize(TDEditor_TD[0], 712.000000, 16.000000);
  TextDrawAlignment(TDEditor_TD[0], 1);
  TextDrawColor(TDEditor_TD[0], 168430335);
  TextDrawSetShadow(TDEditor_TD[0], 0);
  TextDrawSetOutline(TDEditor_TD[0], 0);
  TextDrawBackgroundColor(TDEditor_TD[0], 255);
  TextDrawFont(TDEditor_TD[0], 4);
  TextDrawSetProportional(TDEditor_TD[0], 0);
  TextDrawSetShadow(TDEditor_TD[0], 0);

  return 1;
}[/pawn]

Unutar sad sam ih stavio kako sto reko tamo Teodor

[pawn]C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(288) : error 033: array must be indexed (variable "TDEditor_TD")
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(289) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(290) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(291) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(292) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(293) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(294) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(295) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(296) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(297) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(298) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(300) : error 033: array must be indexed (variable "TDEditor_TD")
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(301) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(302) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(303) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(304) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(305) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(306) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(307) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(308) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(309) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(310) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(312) : error 033: array must be indexed (variable "TDEditor_TD")
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(313) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(314) : error 035: argument type mismatch (argument 1)
C:\Users\bojco\OneDrive\Desktop\Angers Gaming\gamemodes\angers-gaming.pwn(315) : error 035: argument type mismatch (argument 1)
[/pawn]

new PlayerText:TDEditor_TD[MAX_PLAYERS][38];
Ovo ti je za player td-ove  prebaci ih u player dodas PlayerText i u zagradi (playerid, Tde.... ) i promeni TextDrawCreate i  CreatePlayerTextDraw ) playerid, .....

Citat: n0nE poslato April 29, 2020, 12:25:12 POSLE PODNE
new PlayerText:TDEditor_TD[MAX_PLAYERS][38];
Ovo ti je za player td-ove  prebaci ih u player dodas PlayerText i u zagradi (playerid, Tde.... ) i promeni TextDrawCreate i  CreatePlayerTextDraw ) playerid, .....

Objasni ovo posljedno sto si reko

Ovo oko TDE
sam uradio ovako playerid, TDEditor_TD[1]

Tdeditor [ playerid ][ 1 ] = CreatePlayerTextDraw(playerid,

Nadjes ovo :

[pawn]new PlayerText:TDEditor_TD[MAX_PLAYERS][38];[/pawn]

Promenis u ovo:

[pawn]new Text:TDEditor_TD[38];[/pawn]


Reseno, mesto u Game Mode int
Ubacio ih Game Mode exit ???

Nakon 5h  skotno