Question

gamemodes\new.pwn(35163) : error 025: function heading differs from prototype
gamemodes\new.pwn(35164) : error 021: symbol already defined: "GetVehicleSpeed"

 

stock GetVehicleSpeed(playerid) //Строка 35163
{                               //Строка 35164
    new Float: x, Float: y, Float: z;
    if(IsPlayerInAnyVehicle(playerid))
        GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
    else
        GetPlayerVelocity(playerid, x, y, z);
    return floatround(floatsqroot(x*x+y*y+z*z)*100);
}

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0
2 часа назад, HAPKOMAH сказал:

И как исправить?

Или же удалить, или же сменить названия данного stock.

Share this post


Link to post
Share on other sites
  • 0

Функция GetVehicleSpeed уже существует.

Share this post


Link to post
Share on other sites
  • 0
2 минуты назад, Skiffi сказал:

Функция GetVehicleSpeed уже существует.

И как исправить?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Larikze1231
      By Larikze1231
      Здраствуйте, помогите решить проблему, убрал логотип аризоны но появился красный квадрат в низу, как убрать его? буду очень благодарен если поможете!