GameMod

Započeo Lyzzi
pre 5 godina
644
pregleda
9
postova
Jack_White[BU]
Enforcer
pre 5 godina
Problem(error/warning):
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.


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


Evo gde je definisan TD
//================================TextDrawove===================================

new PlayerText:TDEditor_TD;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

TDEditor_TD = TextDrawCreate(543.496582, 433.849822, "GOLD:");
TextDrawLetterSize(TDEditor_TD, 0.143999, 0.573125);
TextDrawAlignment(TDEditor_TD, 2);
TextDrawColor(TDEditor_TD, 887058175);
TextDrawSetShadow(TDEditor_TD, 1);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 1);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 1);
//==============================================================================

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]//[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): l//
Teodor
Made Man
pre 5 godina
Ubaci TD-ove pod OnGameModeInit

I stavi ovako pod OnPlayerSpawn

public OnPlayerSpawn(playerid)
{
    for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
    TextDrawShowForPlayer(i,TDEditor_TD);
}
}
    return 1;
}
Skrilew
Godfather
pre 5 godina
Da napomenem da treba biti unutar callbacka, ne izvan njega 🙂
public OnGameModeInit()
{
  //========================================TextDraw IG===========================
  TDEditor_TD = TextDrawCreate(-24.500000, 428.349914, "LD_SPAC:white");
  TextDrawLetterSize(TDEditor_TD, 0.000000, 0.000000);
  TextDrawTextSize(TDEditor_TD, 712.000000, 16.000000);
  TextDrawAlignment(TDEditor_TD, 1);
  TextDrawColor(TDEditor_TD, 168430335);
  TextDrawSetShadow(TDEditor_TD, 0);
  TextDrawSetOutline(TDEditor_TD, 0);
  TextDrawBackgroundColor(TDEditor_TD, 255);
  TextDrawFont(TDEditor_TD, 4);
  TextDrawSetProportional(TDEditor_TD, 0);
  TextDrawSetShadow(TDEditor_TD, 0);

  return 1;
}
Jack_White[BU]
Enforcer
pre 5 godina
Unutar sad sam ih stavio kako sto reko tamo Teodor
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)
Ukson Amigoss
Hustler
pre 5 godina
new PlayerText:TDEditor_TD;
Ovo ti je za player td-ove  prebaci ih u player dodas PlayerText i u zagradi (playerid, Tde.... ) i promeni TextDrawCreate i  CreatePlayerTextDraw ) playerid, .....
Jack_White[BU]
Enforcer
pre 5 godina
n0nE wrote on April 29, 2020, 10:25 am:
new PlayerText:TDEditor_TD;
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
Ukson Amigoss
Hustler
pre 5 godina
Tdeditor [ playerid ][ 1 ] = CreatePlayerTextDraw(playerid,
Skrilew
Godfather
pre 5 godina
Nadjes ovo :
new PlayerText:TDEditor_TD;


Promenis u ovo:
new Text:TDEditor_TD;
Jack_White[BU]
Enforcer
pre 5 godina
Reseno, mesto u Game Mode int
Ubacio ih Game Mode exit 😕

Nakon 5h  skotno

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava