Question

Компилирую мод и выходит ошибки

gamemodes\GM.pwn(8986) : error 017: undefined symbol "speedo5"
gamemodes\GM.pwn(8986) : warning 215: expression has no effect
gamemodes\GM.pwn(8986) : error 001: expected token: ";", but found "]"
gamemodes\GM.pwn(8986) : error 029: invalid expression, assumed zero
gamemodes\GM.pwn(8986) : fatal error 107: too many error messages on one line

в строчках

            if (IsPlayerInRangeOfPoint(playerid, 30.0, x, y, z))
            {
                new str[32];
                new Float:speed = floatmul(floatsqroot((vX * vX) + (vY * vY) + (vZ * vZ)), 100.0);
                new Float: Distance = GetPlayerDistanceFromPoint(playerid, x, y, z);
                new model = GetVehicleModel(i);
                format(str, sizeof(str), "% 0.1f kЇ/¤", speed);
                PlayerTextDrawSetString(playerid, speedo5[playerid], str);
                format(str, sizeof(str), "%0.1f Ї", Distance);
                PlayerTextDrawSetString(playerid, speedo4[playerid], str);
                format(str, sizeof(str), "%s", GetCarMarkText(model));
                PlayerTextDrawSetString(playerid, speedo3[playerid], str);
                break;
            }
        }

 

Edited by odosenok
Причина: взял ошибки в тег "Код".

Share this post


Link to post

1 answer to this question

  • 0

@Санчерс Он не понимает что такое speedo5

@Санчерс Переменные есть TextDraвов

Share this post


Link to post
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • SNEGUROCHKA
      By SNEGUROCHKA
      fatal error 100: cannot read from file: "performance"
    • Filatov123
      By Filatov123
      fatal error 100: cannot read from file: "performance"