• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] HELP Me 4 Waring undefined symbol "signLabels"
#1
ERROR
D:\caybienbao (1).pwn(25) : error 017: undefined symbol "signLabels"
D:\caybienbao (1).pwn(25) : warning 215: expression has no effect
D:\caybienbao (1).pwn(25) : error 001: expected token: ";", but found "]"
D:\caybienbao (1).pwn(25) : error 029: invalid expression, assumed zero
D:\caybienbao (1).pwn(25) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.





public OnGameModeInit()
{
    for (new i = 0; i < MAX_SIGNS_ADMIN; i++)
    {
        signLabels[i] = INVALID_TEXT_LABEL; // Kh?i t?o giá tr? bi?n báo không h?p l?
    }

    // Kiem tra gia tri cua mang signPositions
    if (signPositions[0][0] == 0.0 || signPositions[0][1] == 0.0 || signPositions[0][2] == 0.0)
    {
        printf("error: invalid float values!");
        return 0; // Dang lai neu gia tri khôong hop le
    }

    return 1;
}
  Reply


Messages In This Thread
HELP Me 4 Waring undefined symbol "signLabels" - by nhocngu24 - 2024-08-29, 03:08 PM

Forum Jump: