Textdraw help
#1

What wrong here ? thanks in advance.

Код:
../gamemodes/OnGameMode.pwn(1053) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1054) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1055) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1056) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1057) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1058) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1059) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1060) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1061) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1063) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1064) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1065) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1066) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1067) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1068) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1069) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1070) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1071) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1072) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1073) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1075) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1076) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1077) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1078) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1079) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1080) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1081) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1082) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1083) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1084) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1085) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1087) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1088) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1089) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1090) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1091) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1092) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1093) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1094) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1095) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1096) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1097) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1099) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1100) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1101) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1102) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1103) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1104) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1105) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1106) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1107) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1108) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1109) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1111) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1112) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1113) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1114) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1115) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1116) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1117) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1118) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1119) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1120) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1121) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1123) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1124) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1125) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1126) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1127) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1128) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1129) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1130) : warning 213: tag mismatch
../gamemodes/OnGameMode.pwn(1131) : warning 213: tag mismatch

pawn Код:
ObjectsLoadingTD[0] = TextDrawCreate(321.000000, 220.000000, "Interior objects loading...");
    TextDrawAlignment(ObjectsLoadingTD[0], 2);
    TextDrawBackgroundColor(ObjectsLoadingTD[0], 255);
    TextDrawFont(ObjectsLoadingTD[0], 1);
    TextDrawLetterSize(ObjectsLoadingTD[0], 0.570000, 2.800001);
    TextDrawColor(ObjectsLoadingTD[0], -1);
    TextDrawSetOutline(ObjectsLoadingTD[0], 0);
    TextDrawSetProportional(ObjectsLoadingTD[0], 1);
    TextDrawSetShadow(ObjectsLoadingTD[0], 3);

    ObjectsLoadingTD[1] = TextDrawCreate(455.000000, 266.000000, "'");
    TextDrawBackgroundColor(ObjectsLoadingTD[1], 255);
    TextDrawFont(ObjectsLoadingTD[1], 1);
    TextDrawLetterSize(ObjectsLoadingTD[1], -0.009999, -7.000000);
    TextDrawColor(ObjectsLoadingTD[1], 255);
    TextDrawSetOutline(ObjectsLoadingTD[1], 0);
    TextDrawSetProportional(ObjectsLoadingTD[1], 1);
    TextDrawSetShadow(ObjectsLoadingTD[1], 0);
    TextDrawUseBox(ObjectsLoadingTD[1], 1);
    TextDrawBoxColor(ObjectsLoadingTD[1], 0x000000AA);
    TextDrawTextSize(ObjectsLoadingTD[1], 185.000000, -37.000000);

    ObjectsLoadingTD[2] = TextDrawCreate(185.000000, 266.000000, "'");
    TextDrawBackgroundColor(ObjectsLoadingTD[2], 255);
    TextDrawFont(ObjectsLoadingTD[2], 1);
    TextDrawLetterSize(ObjectsLoadingTD[2], -0.009999, -7.000000);
    TextDrawColor(ObjectsLoadingTD[2], -1);
    TextDrawSetOutline(ObjectsLoadingTD[2], 0);
    TextDrawSetProportional(ObjectsLoadingTD[2], 1);
    TextDrawSetShadow(ObjectsLoadingTD[2], 0);
    TextDrawUseBox(ObjectsLoadingTD[2], 1);
    TextDrawBoxColor(ObjectsLoadingTD[2], 269488383);
    TextDrawTextSize(ObjectsLoadingTD[2], 185.000000, -37.000000);

    ObjectsLoadingTD[3] = TextDrawCreate(455.000000, 266.000000, "'");
    TextDrawBackgroundColor(ObjectsLoadingTD[3], 255);
    TextDrawFont(ObjectsLoadingTD[3], 1);
    TextDrawLetterSize(ObjectsLoadingTD[3], -0.009999, -7.000000);
    TextDrawColor(ObjectsLoadingTD[3], -1);
    TextDrawSetOutline(ObjectsLoadingTD[3], 0);
    TextDrawSetProportional(ObjectsLoadingTD[3], 1);
    TextDrawSetShadow(ObjectsLoadingTD[3], 0);
    TextDrawUseBox(ObjectsLoadingTD[3], 1);
    TextDrawBoxColor(ObjectsLoadingTD[3], 151587327);
    TextDrawTextSize(ObjectsLoadingTD[3], 455.000000, -37.000000);

    ObjectsLoadingTD[4] = TextDrawCreate(455.000000, 266.000000, "'");
    TextDrawBackgroundColor(ObjectsLoadingTD[4], 255);
    TextDrawFont(ObjectsLoadingTD[4], 1);
    TextDrawLetterSize(ObjectsLoadingTD[4], -0.009999, -1.000000);
    TextDrawColor(ObjectsLoadingTD[4], 255);
    TextDrawSetOutline(ObjectsLoadingTD[4], 0);
    TextDrawSetProportional(ObjectsLoadingTD[4], 1);
    TextDrawSetShadow(ObjectsLoadingTD[4], 0);
    TextDrawUseBox(ObjectsLoadingTD[4], 1);
    TextDrawBoxColor(ObjectsLoadingTD[4], 151587327);
    TextDrawTextSize(ObjectsLoadingTD[4], 185.000000, -87.000000);

    ObjectsLoadingTD[5] = TextDrawCreate(455.000000, 212.000000, "'");
    TextDrawBackgroundColor(ObjectsLoadingTD[5], 255);
    TextDrawFont(ObjectsLoadingTD[5], 1);
    TextDrawLetterSize(ObjectsLoadingTD[5], -0.009999, -1.000000);
    TextDrawColor(ObjectsLoadingTD[5], -1);
    TextDrawSetOutline(ObjectsLoadingTD[5], 0);
    TextDrawSetProportional(ObjectsLoadingTD[5], 1);
    TextDrawSetShadow(ObjectsLoadingTD[5], 0);
    TextDrawUseBox(ObjectsLoadingTD[5], 1);
    TextDrawBoxColor(ObjectsLoadingTD[5], 269488383);
    TextDrawTextSize(ObjectsLoadingTD[5], 185.000000, -37.000000);

    ObjectsLoadingTD[6] = TextDrawCreate(318.000000, 220.000000, "Interior objects loaded.");
    TextDrawAlignment(ObjectsLoadingTD[6], 2);
    TextDrawBackgroundColor(ObjectsLoadingTD[6], 255);
    TextDrawFont(ObjectsLoadingTD[6], 1);
    TextDrawLetterSize(ObjectsLoadingTD[6], 0.570000, 2.800001);
    TextDrawColor(ObjectsLoadingTD[6], -637073409);
    TextDrawSetOutline(ObjectsLoadingTD[6], 0);
    TextDrawSetProportional(ObjectsLoadingTD[6], 1);
    TextDrawSetShadow(ObjectsLoadingTD[6], 3);
Reply
#2

Did you
PHP код:
new Text:ObjectsLoadingTD[3]; //Correct
or
new 
ObjectsLoadingTD[3];//NAAAT Correct 
Reply
#3

I using

PHP код:
new ObjectsLoadingTD[7]; 
This one worked thanks

PHP код:
new Text:ObjectsLoadingTD[7]; 
Reply


Forum Jump:


Users browsing this thread: