Вопросы

Помогите.

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


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

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 пользователей онлайн

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

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

    • Доналдо Фарекелка
      От Доналдо Фарекелка


      Скачать файл Arizona RolePlay || Ser
      Приветствую, этот мод я нашёл на просторах интернета. 
      Скачал мод у автора:  Developer Stravinskiy
      Доработал мод: Donaldo_Farekelka
       
      Предупреждаю! Мод сырой, багов стало меньше, но они есть.
      Мод: Баня, Подвал, В некоторых местах маппинг, система коронавируса, 9 лвл админок
       
      Информация:
      1) Dc_Cmd
      2) Mysql, mode, language - Всё настраивается теперь в pawno ( UPDATE: 1.1.0 )
      3) Административные права в данный момент можно выдать только через MYSQL ( BD ).
       
      То что я сделал ( Всё что я делаю сейчас, смотрите в изменениях ):
       
      Добавил Доналдо Фарекелка Добавлено 13.04.2023 Категория Моды Автор shenol (vk.com/donaldo_farekelka)  
    • Доналдо Фарекелка
      От Доналдо Фарекелка
      Приветствую, этот мод я нашёл на просторах интернета. 
      Скачал мод у автора:  Developer Stravinskiy
      Доработал мод: Donaldo_Farekelka
       
      Предупреждаю! Мод сырой, багов стало меньше, но они есть.
      Мод: Баня, Подвал, В некоторых местах маппинг, система коронавируса, 9 лвл админок
       
      Информация:
      1) Dc_Cmd
      2) Mysql, mode, language - Всё настраивается теперь в pawno ( UPDATE: 1.1.0 )
      3) Административные права в данный момент можно выдать только через MYSQL ( BD ).
       
      То что я сделал ( Всё что я делаю сейчас, смотрите в изменениях ):
       
    • dmitryan
      От dmitryan


      Скачать файл RUSSIA RP | 2024 | ДОРАБОТКА!
      Доброго времени суток! Я выложил на продажу полную копию Russia RolePlay!
      Мод будет обновляться.
      Основа мода : Russia RP | 2023 by gooding
      Доработка мода : Я (D.Grizenko)
       
       

















      Добавил dmitryan Добавлено 07.03.2024 Категория Моды Автор Основа - gooding, доработка - d.grizenko  
    • Redmondd
      От Redmondd
      При запуске сервера в консоли пишет: Started server on port: 7777, with maxplayers: 500 lanmode is OFF.
      И когда захожу на сервер пишет server didnt respond
       
      ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team filterscripts = ""  (string) Server Plugins --------------  Loading plugin: mysql   > MySQL plugin R7-2 successfully loaded.   Loaded.  Loading plugin: sscanf  ===============================       sscanf plugin loaded.          Version:  2.8.1    (c) 2012 Alex "Y_Less" Cole  ===============================   Loaded.  Loading plugin: dc_cmd   Daniel's CMD plugin v2.8     (c) 2014 Daniel_Cortez         www.pro-pawn.ru   Loaded.  Loading plugin: streamer *** Streamer Plugin v2.7.9 by Incognito loaded ***   Loaded.  Loaded 4 plugins. Started server on port: 7777, with maxplayers: 500 lanmode is OFF. Filterscripts ---------------   Loaded 0 filterscripts. Подключение к базе данных MYSQL успешно ---------------------------------- --------Redmond RP 01-------- ---------------------------------- Number of vehicle models: 5 Склады загружены успешно Дома (15 шт) загружены успешно