Вопросы

Помогите.

Поделиться сообщением


Ссылка на сообщение

10 ответов на этот вопрос

  • 0
17 минут назад, MuhammadPawn сказал:

@Pikachu эм... а смысл ему свой код заменять на другой? (и у тебя не правильно скорость отражаться будет * 120.3 а не * 213.3)

 

нащёт спидометра я так понимаю он не показывается?

Я не понимал что да как. Он объяснил не понятно по этому списались вк завтра все ему сделаю! Как сделаю скину сюда как сделал и что.

Поделиться сообщением


Ссылка на сообщение
  • 0

Скинь сюда сток самого спидометра 

Поделиться сообщением


Ссылка на сообщение
  • 0

@Pikachu 

Спойлер

forward UpdateSpeedometr(playerid);
public UpdateSpeedometr(playerid)
{
	CheckCar(playerid);
	if(Speedak[playerid] == 0) return 1;
	if(GetPlayerState(playerid) == 2)
	{
		if(IsAPlane(GetPlayerVehicleID(playerid)) || IsABoat(GetPlayerVehicleID(playerid)) || IsAMoped(GetPlayerVehicleID(playerid))) return true;
		new str[64],str4[64], str5[64];
		if(IsLocked[GetPlayerVehicleID(playerid)] == true)
		{
		PlayerTextDrawColor(playerid,Speedom[playerid][3],0x05CD0Cff);
		PlayerTextDrawShow(playerid,Speedom[playerid][3]);
		}
		else
		{
		PlayerTextDrawColor(playerid,Speedom[playerid][3],0xFF0000ff);
		PlayerTextDrawShow(playerid,Speedom[playerid][3]);
		}

		UnSurfCar(GetPlayerVehicleID(playerid));
		if(Engine[GetPlayerVehicleID(playerid)] == true)
		{
		PlayerTextDrawColor(playerid,Speedom[playerid][1],0x05CD0Cff);
		PlayerTextDrawShow(playerid,Speedom[playerid][1]);
		}
		else
		{
		PlayerTextDrawColor(playerid,Speedom[playerid][1],0xFF0000ff);
		PlayerTextDrawShow(playerid,Speedom[playerid][1]);
		}

		if(VehRe[playerid] == false)
		{
		PlayerTextDrawColor(playerid,Speedom[playerid][4],0x05CD0Cff);
		PlayerTextDrawShow(playerid,Speedom[playerid][4]);
		}
		else
		{
		PlayerTextDrawColor(playerid,Speedom[playerid][4],0xFF0000ff);
		PlayerTextDrawShow(playerid,Speedom[playerid][4]);
		}
		if(Lights[GetPlayerVehicleID(playerid)] == true)
		{
		PlayerTextDrawColor(playerid,Speedom[playerid][2],0x05CD0Cff);
		PlayerTextDrawShow(playerid,Speedom[playerid][2]);
		}
		else
		{
		PlayerTextDrawColor(playerid,Speedom[playerid][2],0xFF0000ff);
		PlayerTextDrawShow(playerid,Speedom[playerid][2]);
		}
  		switch(SpeedVehicle(playerid))
        {
                case 0..9: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~w~~h~I");
                case 10..14: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~w~~h~II");
                case 15..19: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~III");
                case 20..24: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~IIII");
                case 25..29: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIII");
                case 30..34: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIIII");
                case 35..39: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIIIII");
                case 40..44: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIIIIII");
                case 45..49: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIII");
                case 50..59: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIIII");
                case 60..64: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIIIII");
                case 65..69: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIIIIII");
                case 70..79: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~IIIIIIIIIIIII");
                case 80..89: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~IIIIIIIIIIIIII");
                case 90..99: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIII");
                case 100..109: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIII");
                case 110..119: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIII");
                case 120..129: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIII");
                case 130..139: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIII");
                case 140..149: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIIII");
                case 150..164: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIIIII");
                case 165..174: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIIIIII");
                case 175..189: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~IIIIIIIIIIIIIIIIIIIIII");
                case 190..199: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~IIIIIIIIIIIIIIIIIIIIIII");
                case 200..209: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~IIIIIIIIIIIIIIIIIIIIIII");
                case 210..219: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~IIIIIIIIIIIIIIIIIIIIIIII");
                case 220..229: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~IIIIIIIIIIIIIIIIIIIIIIIII");
                case 230..239: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~~h~IIIIIIIIIIIIIIIIIIIIIII");
                case 240..249: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~~h~IIIIIIIIIIIIIIIIIIIIIIIII");
                default: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~~h~IIIIIIIIIIIIIIIIIIIIIIIIIII");
        }
        new Float:health,heal;
        GetVehicleHealth(GetPlayerVehicleID(playerid), health);
        heal = floatround(health) / 10;
		format(str, sizeof(str),"%d k¯/¤",SpeedVehicle(playerid) / 2);
		format(str4, sizeof(str4), "TOŒ‡…BO: %d ž.", Fuel[GetPlayerVehicleID(playerid)]);
		format(str5, sizeof(str5), "COCTO•H…E: %d%", heal);
		PlayerTextDrawSetString(playerid, Speedom[playerid][9],str4);
		PlayerTextDrawSetString(playerid, Speedom[playerid][8],str);
		PlayerTextDrawSetString(playerid, Speedom[playerid][12],str5);
	}
	return false;
}

 

 

Поделиться сообщением


Ссылка на сообщение
  • 0
Спойлер

forward UpdateSpeedometr(playerid);
public UpdateSpeedometr(playerid)
{
    CheckCar(playerid);
    if(Speedak[playerid] == 0) return 1;
    if(GetPlayerState(playerid) == 2)
    {
        if(IsAPlane(GetPlayerVehicleID(playerid)) || IsABoat(GetPlayerVehicleID(playerid)) || IsAMoped(GetPlayerVehicleID(playerid))) return true;
        new str[64],str4[64], str5[64];
        if(IsLocked[GetPlayerVehicleID(playerid)] == true)
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][3],0x05CD0Cff);
        PlayerTextDrawShow(playerid,Speedom[playerid][3]);
        }
        else
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][3],0xFF0000ff);
        PlayerTextDrawShow(playerid,Speedom[playerid][3]);
        }

        UnSurfCar(GetPlayerVehicleID(playerid));
        if(Engine[GetPlayerVehicleID(playerid)] == true)
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][1],0x05CD0Cff);
        PlayerTextDrawShow(playerid,Speedom[playerid][1]);
        }
        else
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][1],0xFF0000ff);
        PlayerTextDrawShow(playerid,Speedom[playerid][1]);
        }

        if(VehRe[playerid] == false)
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][4],0x05CD0Cff);
        PlayerTextDrawShow(playerid,Speedom[playerid][4]);
        }
        else
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][4],0xFF0000ff);
        PlayerTextDrawShow(playerid,Speedom[playerid][4]);
        }
        if(Lights[GetPlayerVehicleID(playerid)] == true)
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][2],0x05CD0Cff);
        PlayerTextDrawShow(playerid,Speedom[playerid][2]);
        }
        else
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][2],0xFF0000ff);
        PlayerTextDrawShow(playerid,Speedom[playerid][2]);
        }
          switch(SpeedVehicle(playerid))
        {
                case 0..9: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~w~~h~I");
                case 10..14: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~w~~h~II");
                case 15..19: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~III");
                case 20..24: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~IIII");
                case 25..29: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIII");
                case 30..34: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIIII");
                case 35..39: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIIIII");
                case 40..44: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIIIIII");
                case 45..49: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIII");
                case 50..59: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIIII");
                case 60..64: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIIIII");
                case 65..69: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIIIIII");
                case 70..79: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~IIIIIIIIIIIII");
                case 80..89: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~IIIIIIIIIIIIII");
                case 90..99: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIII");
                case 100..109: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIII");
                case 110..119: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIII");
                case 120..129: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIII");
                case 130..139: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIII");
                case 140..149: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIIII");
                case 150..164: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIIIII");
                case 165..174: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIIIIII");
                case 175..189: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~IIIIIIIIIIIIIIIIIIIIII");
                case 190..199: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~IIIIIIIIIIIIIIIIIIIIIII");
                case 200..209: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~IIIIIIIIIIIIIIIIIIIIIII");
                case 210..219: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~IIIIIIIIIIIIIIIIIIIIIIII");
                case 220..229: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~IIIIIIIIIIIIIIIIIIIIIIIII");
                case 230..239: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~~h~IIIIIIIIIIIIIIIIIIIIIII");
                case 240..249: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~~h~IIIIIIIIIIIIIIIIIIIIIIIII");
                default: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~~h~IIIIIIIIIIIIIIIIIIIIIIIIIII");
        }
        SpeedVehicle(playerid);
        new Float:health,heal;
        GetVehicleHealth(GetPlayerVehicleID(playerid), health);
        heal = floatround(health) / 10;
        format(str, sizeof(str),"%d k?/¤",SpeedVehicle(playerid) / 2);
        format(str4, sizeof(str4), "TO?‡…BO: %d z.", Fuel[GetPlayerVehicleID(playerid)]);
        format(str5, sizeof(str5), "COCTO•H…E: %d%", heal);
        PlayerTextDrawSetString(playerid, Speedom[playerid][9],str4);
        PlayerTextDrawSetString(playerid, Speedom[playerid][8],str);
        PlayerTextDrawSetString(playerid, Speedom[playerid][12],str5);
    }
    return false;
}

И замени свой SpeedVehicle на этот:
 

Спойлер

stock SpeedVehicle(playerid)
{
    new Float:ST[4];
    if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid),ST[0],ST[1],ST[2]);
    else GetPlayerVelocity(playerid,ST[0],ST[1],ST[2]);
    ST[3] = floatsqroot(floatpower(floatabs(ST[0]), 2.0) + floatpower(floatabs(ST[1]), 2.0) + floatpower(floatabs(ST[2]), 2.0)) * 213.3;
    return floatround(ST[3]);
}

 

Поделиться сообщением


Ссылка на сообщение
  • 0

@Pikachu Хорошо 

@Nekit_Krut18 сток UpdateSpeedometr Тоже заменить? 

Поделиться сообщением


Ссылка на сообщение
  • 0
7 минут назад, Nekit_Krut18 сказал:

@Pikachu Хорошо 

@Nekit_Krut18 сток UpdateSpeedometr Тоже заменить? 

Не надо 

Поделиться сообщением


Ссылка на сообщение
  • 0

@Pikachu А что то на химичил до этого и у меня спидометр пропал) 

Поделиться сообщением


Ссылка на сообщение
  • 0
2 минуты назад, Nekit_Krut18 сказал:

@Pikachu А что то на химичил до этого и у меня спидометр пропал) 

И да покажи мне ещё UpdateSpeedometr
И по пробуй заменить вот так:

 

Спойлер

stock SpeedVehicle(playerid)
{
    new Float:health,heal,Float:ST[4];
    GetVehicleHealth(GetPlayerVehicleID(playerid), health);
    heal = floatround(health) / 10;
    format(str, sizeof(str),"%d k?/¤",SpeedVehicle(playerid) / 2);
    format(str4, sizeof(str4), "TO?‡…BO: %d z.", Fuel[GetPlayerVehicleID(playerid)]);
    format(str5, sizeof(str5), "COCTO•H…E: %d%", heal);
    PlayerTextDrawSetString(playerid, Speedom[playerid][9],str4);
    PlayerTextDrawSetString(playerid, Speedom[playerid][8],str);
    PlayerTextDrawSetString(playerid, Speedom[playerid][12],str5);
    if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid),ST[0],ST[1],ST[2]);
    else GetPlayerVelocity(playerid,ST[0],ST[1],ST[2]);
    ST[3] = floatsqroot(floatpower(floatabs(ST[0]), 2.0) + floatpower(floatabs(ST[1]), 2.0) + floatpower(floatabs(ST[2]), 2.0)) * 213.3;
    return floatround(ST[3]);
}

Спойлер

forward UpdateSpeedometr(playerid);
public UpdateSpeedometr(playerid)
{
    CheckCar(playerid);
    if(Speedak[playerid] == 0) return 1;
    if(GetPlayerState(playerid) == 2)
    {
        if(IsAPlane(GetPlayerVehicleID(playerid)) || IsABoat(GetPlayerVehicleID(playerid)) || IsAMoped(GetPlayerVehicleID(playerid))) return true;
        new str[64],str4[64], str5[64];
        if(IsLocked[GetPlayerVehicleID(playerid)] == true)
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][3],0x05CD0Cff);
        PlayerTextDrawShow(playerid,Speedom[playerid][3]);
        }
        else
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][3],0xFF0000ff);
        PlayerTextDrawShow(playerid,Speedom[playerid][3]);
        }

        UnSurfCar(GetPlayerVehicleID(playerid));
        if(Engine[GetPlayerVehicleID(playerid)] == true)
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][1],0x05CD0Cff);
        PlayerTextDrawShow(playerid,Speedom[playerid][1]);
        }
        else
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][1],0xFF0000ff);
        PlayerTextDrawShow(playerid,Speedom[playerid][1]);
        }

        if(VehRe[playerid] == false)
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][4],0x05CD0Cff);
        PlayerTextDrawShow(playerid,Speedom[playerid][4]);
        }
        else
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][4],0xFF0000ff);
        PlayerTextDrawShow(playerid,Speedom[playerid][4]);
        }
        if(Lights[GetPlayerVehicleID(playerid)] == true)
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][2],0x05CD0Cff);
        PlayerTextDrawShow(playerid,Speedom[playerid][2]);
        }
        else
        {
        PlayerTextDrawColor(playerid,Speedom[playerid][2],0xFF0000ff);
        PlayerTextDrawShow(playerid,Speedom[playerid][2]);
        }
          switch(SpeedVehicle(playerid))
        {
                case 0..9: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~w~~h~I");
                case 10..14: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~w~~h~II");
                case 15..19: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~III");
                case 20..24: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~IIII");
                case 25..29: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIII");
                case 30..34: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIIII");
                case 35..39: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIIIII");
                case 40..44: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~IIIIIIII");
                case 45..49: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIII");
                case 50..59: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIIII");
                case 60..64: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIIIII");
                case 65..69: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~g~~h~~h~IIIIIIIIIIII");
                case 70..79: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~IIIIIIIIIIIII");
                case 80..89: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~IIIIIIIIIIIIII");
                case 90..99: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIII");
                case 100..109: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIII");
                case 110..119: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIII");
                case 120..129: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIII");
                case 130..139: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIII");
                case 140..149: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIIII");
                case 150..164: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIIIII");
                case 165..174: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~y~~h~IIIIIIIIIIIIIIIIIIIII");
                case 175..189: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~IIIIIIIIIIIIIIIIIIIIII");
                case 190..199: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~IIIIIIIIIIIIIIIIIIIIIII");
                case 200..209: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~IIIIIIIIIIIIIIIIIIIIIII");
                case 210..219: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~IIIIIIIIIIIIIIIIIIIIIIII");
                case 220..229: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~IIIIIIIIIIIIIIIIIIIIIIIII");
                case 230..239: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~~h~IIIIIIIIIIIIIIIIIIIIIII");
                case 240..249: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~~h~IIIIIIIIIIIIIIIIIIIIIIIII");
                default: PlayerTextDrawSetString(playerid, Speedom[playerid][5], "~r~~h~~h~IIIIIIIIIIIIIIIIIIIIIIIIIII");
        }
        SpeedVehicle(playerid);

    }
    return false;
}

 

Поделиться сообщением


Ссылка на сообщение
  • 0

@Pikachu Ок 

@Pikachu А что сделать что бы он обратно появился, я лазил все в STimer. .....

@Nekit_Krut18 

Спойлер

C:\Users\777\Desktop\Admin_Nikita\JRP\gamemodes\RRP.pwn(42548) : error 017: undefined symbol "str"
C:\Users\777\Desktop\Admin_Nikita\JRP\gamemodes\RRP.pwn(42548) : error 017: undefined symbol "str"
C:\Users\777\Desktop\Admin_Nikita\JRP\gamemodes\RRP.pwn(42548) : error 029: invalid expression, assumed zero
C:\Users\777\Desktop\Admin_Nikita\JRP\gamemodes\RRP.pwn(42548) : fatal error 107: too many error messages on one line

 

 

@Pikachu 

Спойлер

  format(str, sizeof(str),"%d k?/¤",SpeedVehicle(playerid) / 2);

 

 

Поделиться сообщением


Ссылка на сообщение
  • 0

@Pikachu эм... а смысл ему свой код заменять на другой? (и у тебя не правильно скорость отражаться будет * 120.3 а не * 213.3)

 

нащёт спидометра я так понимаю он не показывается?

Отредактировано пользователем MuhammadPawn

Поделиться сообщением


Ссылка на сообщение
Гость
Эта тема закрыта для публикации ответов.
  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

  • Похожий контент

    • Узбек
      От Узбек
      Всем добрый вечер ребят! 
      Я начинающий, сегодня я вам сливаю команду 2(шт) на технические работы
      Ловите 
       
    • nazpol9
      От nazpol9
      Привет всем.

      У меня имеется мод для самп сервера и VPS с Ubuntu, на котором я пытаюсь его запустить.

      В чем суть проблемы: при запуске samp03svr, сервер запускается, но на версии 0.3.DL R-1. Когда я пытаюсь запустить этот же мод локально на Windows, сервер работает на версии 0.3.7 и я могу зайти на него без клиента 0.3.DL.

      Для решения этой проблемы я уже пробовал заменять инклуды и исполнительные файлы теми, что есть в архивах на официальном сайте сампа, перекомпилировал мод, и ничего не изменилось.
       
      #include <a_samp> #include <a_mysql> #include <foreach> #include <Pawn.RakNet> #include <streamer> #include <sscanf2> #include <float2> #include <crashdetect> #include <fmt> #include <a_http> #include <Pawn.CMD> #include <Pawn.Regex> #include <requests> #include <callbacks> #include <MD5> #include <mxdate> #include <TOTP> #include <gvar> #include <md-sort> #include <nex-ac> #include <weapon-config> #include <discord-connector> #include <3DTryg> #include <textdraw-streamer>  
      plugins crashdetect.so streamer.so textdraw-streamer.so sscanf.so pawnraknet.so pawncmd.so mysql.so requests.so profiler.so pawnregex.so TOTP.so gvar.so discord-connector.so

      Если у кого-то будут какие-либо догадки, прошу ими поделиться, если понадобится больше информации - я постараюсь её предоставить.