Вопросы

Помогите.

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


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

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

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

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

    • Mister Odin
      От Mister Odin
       
      new
       g_teleport_list[39][E_TELEPORT_LIST] = {  {"Спавн пгт.Батырево", 1802.3612, 2508.4824, 15.8887},  {"Спавн г.Арзамас", -113.5887, 977.7222, 12.0346},     {"Спавн г.Южный", 2744.2770, -2446.7246, 21.8988},     {"Центральный банк", 1852.020385,2040.791381,15.892713},  {"Рублёвка", -837.7783, 888.6161, 12.7232},  {"Казино", 1332.4252, 2358.7014, 17.6641},  {"Битва за контейнеры", 614.5167, 1722.3566, 12.0709},  {"Автосалон низкого класса", 2493.9616, -722.9544, 12.3315},  {"Автосалон среднего класса", 1407.7449, 455.4801, 13.1630},  {"Автосалон высокого класса", -14.0637, 2614.5664, 10.9892},   {"Мотосалон Harley Davidson", 785.720153, 750.465087, 12.000024},  {"Автошкола", 1909.174438,2227.679687,15.708162},  {"Военкомат", 1916.778564,2302.411376,15.574637},  {"Правительство области", -139.140975,593.789611,12.145712},  {"Отдел полиции №1 (ГИБДД)", 1906.805786,-2234.382812,11.257631},  {"Отдел полиции №2 (УМВД)", 2581.309326,-2416.139892,21.960090},  {"Отдел ФСБ", 1823.904663,2095.636718,15.848405},  {"Городская больница г.Арзамас", -285.797210,581.851562,12.120290},   {"СМИ", -317.708038,821.221679,13.051450},  {"Воинская часть", 1703.197265,1678.025878,15.279437},  {"Арзамасская ОПГ", 438.705322,1046.505126,12.002637},  {"Батыревская ОПГ", 1941.203857,2161.006591,15.705187},  {"Лыткаринская ОПГ", -2346.002441,75.257041,21.002962},  {"Шахта", 2381.5727, 1726.4451, -2.1506},  {"Завод", -1062.6697, 2204.1894, 38.0964},  {"Инкосация", 1864.1374, 2011.7136, 15.8546},  {"Транспортная Компания", 2362.1115, 1972.5627, 15.5530},  {"База механиков", 1840.918090,-118.025146,15.695312},  {"Курьерская служба доставки", 2764.509765,-2396.882568,21.890625},  {"Аренда автобуса(Южный)", 2771.041992,-2454.780761,21.845964},  {"Аренда автобуса(Арзамас)", -127.487670,943.652648,12.142824},   {"Аренда автобуса(Батырево)", 1798.986328,2529.591552,15.664262},  {"Гоночная трасса", -1568.7784, 1611.8305, 36.3971},  {"Дом на горе", -789.5397, -456.7479, 741.1422},  {"СТО и тюнинг-ателье", 1856.1375, -122.3266, 15.6888},  {"Аренда транспорта пгт.Батырево", 1763.641723,2255.673339,15.865348},  {"Аренда транспорта г.Арзамас", -36.923530,1360.673583,12.002090},  {"Аренда транспорта г.Южный", 1966.599975,-2603.943603,10.820312},  {"Тайный интерьер в Лыткарино", -2424.5818, 2846.3291, 40.7908} };