23.07.2018, 12:25
Quote:
new Text:Global_HUD_Txd[7];
Global_HUD_Txd[0] = TextDrawCreate(40.476207, 429.359985, "box"); Global_HUD_Txd[1] = TextDrawCreate(.... Global_HUD_Txd[2] = TextDrawCreate(... ... |
Код:
Global_HUD_Txd[0] = TextDrawCreate(40.476207, 429.359985, "box"); TextDrawLetterSize(Global_HUD_Txd[0], 0.000000, 1.238091); TextDrawTextSize(Global_HUD_Txd[0], 290.000000, 0.000000); TextDrawAlignment(Global_HUD_Txd[0], 1); TextDrawColor(Global_HUD_Txd[0], -1); TextDrawUseBox(Global_HUD_Txd[0], 1); TextDrawBoxColor(Global_HUD_Txd[0], 57); TextDrawSetShadow(Global_HUD_Txd[0], 0); TextDrawSetOutline(Global_HUD_Txd[0], 0); TextDrawBackgroundColor(Global_HUD_Txd[0], 33); TextDrawFont(Global_HUD_Txd[0], 1); TextDrawSetProportional(Global_HUD_Txd[0], 1); TextDrawSetShadow(Global_HUD_Txd[0], 0); Global_HUD_Txd[1] = TextDrawCreate(133.100250, 431.249938, "hud:radar_dateDrink"); TextDrawLetterSize(Global_HUD_Txd[1], 0.000000, 0.000000); TextDrawTextSize(Global_HUD_Txd[1], 7.000000, 7.000000); TextDrawAlignment(Global_HUD_Txd[1], 1); TextDrawColor(Global_HUD_Txd[1], -1); TextDrawSetShadow(Global_HUD_Txd[1], 0); TextDrawSetOutline(Global_HUD_Txd[1], 0); TextDrawBackgroundColor(Global_HUD_Txd[1], 255); TextDrawFont(Global_HUD_Txd[1], 4); TextDrawSetProportional(Global_HUD_Txd[1], 0); TextDrawSetShadow(Global_HUD_Txd[1], 0); Global_HUD_Txd[2] = TextDrawCreate(142.500030, 431.900024, "LD_SPAC:white"); TextDrawLetterSize(Global_HUD_Txd[2], 0.000000, 0.000000); TextDrawTextSize(Global_HUD_Txd[2], 63.000000, 6.500011); TextDrawAlignment(Global_HUD_Txd[2], 1); TextDrawColor(Global_HUD_Txd[2], 255); TextDrawSetShadow(Global_HUD_Txd[2], 0); TextDrawSetOutline(Global_HUD_Txd[2], 0); TextDrawBackgroundColor(Global_HUD_Txd[2], 255); TextDrawFont(Global_HUD_Txd[2], 4); TextDrawSetProportional(Global_HUD_Txd[2], 0); TextDrawSetShadow(Global_HUD_Txd[2], 0); Global_HUD_Txd[3] = TextDrawCreate(143.449966, 432.800048, "LD_SPAC:white"); TextDrawLetterSize(Global_HUD_Txd[3], 0.000000, 0.000000); TextDrawTextSize(Global_HUD_Txd[3], 61.000000, 4.749994); TextDrawAlignment(Global_HUD_Txd[3], 1); TextDrawColor(Global_HUD_Txd[3], 842150655); TextDrawSetShadow(Global_HUD_Txd[3], 0); TextDrawSetOutline(Global_HUD_Txd[3], 0); TextDrawBackgroundColor(Global_HUD_Txd[3], 255); TextDrawFont(Global_HUD_Txd[3], 4); TextDrawSetProportional(Global_HUD_Txd[3], 0); TextDrawSetShadow(Global_HUD_Txd[3], 0); Global_HUD_Txd[4] = TextDrawCreate(213.000000, 431.650085, "hud:radar_dateFood"); TextDrawLetterSize(Global_HUD_Txd[4], 0.000000, 0.000000); TextDrawTextSize(Global_HUD_Txd[4], 7.000000, 7.000000); TextDrawAlignment(Global_HUD_Txd[4], 1); TextDrawColor(Global_HUD_Txd[4], -1); TextDrawSetShadow(Global_HUD_Txd[4], 0); TextDrawSetOutline(Global_HUD_Txd[4], 0); TextDrawBackgroundColor(Global_HUD_Txd[4], 255); TextDrawFont(Global_HUD_Txd[4], 4); TextDrawSetProportional(Global_HUD_Txd[4], 0); TextDrawSetShadow(Global_HUD_Txd[4], 0); Global_HUD_Txd[5] = TextDrawCreate(222.000000, 432.000000, "LD_SPAC:white"); TextDrawLetterSize(Global_HUD_Txd[5], 0.000000, 0.000000); TextDrawTextSize(Global_HUD_Txd[5], 63.000000, 6.500011); TextDrawAlignment(Global_HUD_Txd[5], 1); TextDrawColor(Global_HUD_Txd[5], 255); TextDrawSetShadow(Global_HUD_Txd[5], 0); TextDrawSetOutline(Global_HUD_Txd[5], 0); TextDrawBackgroundColor(Global_HUD_Txd[5], 255); TextDrawFont(Global_HUD_Txd[5], 4); TextDrawSetProportional(Global_HUD_Txd[5], 0); TextDrawSetShadow(Global_HUD_Txd[5], 0); Global_HUD_Txd[6] = TextDrawCreate(222.699981, 432.800048, "LD_SPAC:white"); TextDrawLetterSize(Global_HUD_Txd[6], 0.000000, 0.000000); TextDrawTextSize(Global_HUD_Txd[6], 61.000000, 4.749994); TextDrawAlignment(Global_HUD_Txd[6], 1); TextDrawColor(Global_HUD_Txd[6], 842150655); TextDrawSetShadow(Global_HUD_Txd[6], 0); TextDrawSetOutline(Global_HUD_Txd[6], 0); TextDrawBackgroundColor(Global_HUD_Txd[6], 255); TextDrawFont(Global_HUD_Txd[6], 4); TextDrawSetProportional(Global_HUD_Txd[6], 0); TextDrawSetShadow(Global_HUD_Txd[6], 0);
Код:
C:\Users\Lukasz\Desktop\comp\ltrpg.pwntonrpg\gamemodes(210) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(211) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(212) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(213) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(214) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(215) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(216) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(217) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(218) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(219) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(220) : error 032: array index out of bounds (variable "Global_HUD_Txd") C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(230) : error 010: invalid function or declaration C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(233) : error 010: invalid function or declaration C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(236) : error 010: invalid function or declaration C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(238) : error 010: invalid function or declaration C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(239) : error 010: invalid function or declaration C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(243) : error 001: expected token: ";", but found "-integer value-" C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(245) : error 010: invalid function or declaration C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(248) : error 021: symbol already defined: "SendClientMessage" C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(252) : error 010: invalid function or declaration C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(253) : error 010: invalid function or declaration C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(254) : error 010: invalid function or declaration C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(262) : error 017: undefined symbol "Player_HUD_Txd" C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(262) : warning 215: expression has no effect C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(262) : error 001: expected token: ";", but found "]" C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(262) : error 029: invalid expression, assumed zero C:\Users\Lukasz\Desktop\comptonrpg\gamemodes\ltrpg.pwn(262) : fatal error 107: too many error messages on one line