Иконка ресурса

Cameras And Drones 1.0.2 RUS

Black_Yuzia

Зарабатываю на жизнь Мемами про Крузю.
Сообщения
693
Реакции
372
Пользователь Best_Kronky разместил новый ресурс:

[CS:GO] Cameras And Drones - Камеры и Дроны для CS:GO как и в Tom Clancy's Rainbow Six Siege

Cameras And Drones

Описание
attachment.php


Этот плагин добавляет в игру камеры и дронов .
Камеры предназначены для использования в качестве защитного снаряжения, тогда как во время нападения следует использовать дроны.

Используйте это, чтобы устроить западню своим...

Узнать больше об этом ресурсе...
 

Larsalex

Сообщения
812
Реакции
404
Перевёл всё. Тестировать негде (Отпишите мне в ЛС на форуме если увидите ошибки)
 

Вложения

  • Cameras_and_Drones [ 1.0.2 rus ] by Larsalex.rar
    57.9 КБ · Просмотры: 17

DiSonDS

Участник
Сообщения
79
Реакции
16
Бывает из кс выкидывает при использовании плагина
 

over_trax

Участник
Сообщения
1,451
Реакции
488
поправь описание:
(нет такого слова "шумлят, есть шумят")

  • Дроны шумлят когда едут.
 

Black_Yuzia

Зарабатываю на жизнь Мемами про Крузю.
Сообщения
693
Реакции
372
@over_trax, Спасибо за помощь.
Видно, плохо русский знаю :d
 

Black_Yuzia

Зарабатываю на жизнь Мемами про Крузю.
Сообщения
693
Реакции
372
@Devouring code, В идеале бы да. Но не думаю что кто-то захочет потратиться на модели.
Хотя, можно попросить кого-либо (из темы Услуги) портировать/сделать модели которые подойдут.


Но как по мне - Кому это блэт надо?

@CAH4E3 Хе, а вроде весело получиться :d
 

MaZa

Участник
Сообщения
1,732
Реакции
980
08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 752, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 752, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 752, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 752, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 752, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 752, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 763, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 763, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 752, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 752, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
L 08/22/2017 - 23:47:05: [SM] Call stack trace:
L 08/22/2017 - 23:47:05: [SM] [0] GetEntPropString
L 08/22/2017 - 23:47:05: [SM] [1] Line 748, C:\Users\Larsalex\Desktop\scripting\include\entity.inc::GetEntityClassname
L 08/22/2017 - 23:47:05: [SM] [2] Line 752, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::OnPlayerRunCmd
L 08/22/2017 - 23:47:05: [SM] Exception reported: Entity -1 (-1) is invalid
L 08/22/2017 - 23:47:05: [SM] Blaming: cameras-and-drones.smx
Поправьте кто может)
 

Черная вдова

Участник
Сообщения
2,795
Реакции
670
1)фикс для скрывания оружия в камере
C-подобный:
bool removedweapon[MAXPLAYERS + 1];
int zweapon[MAXPLAYERS + 1];
...
public void TpToCam(int client_index, int cam)
{
  ...
  SetEntProp(client_index, Prop_Send, "m_iHideHUD", GetEntProp(client_index, Prop_Send, "m_iHideHUD") | HIDEHUD_WEAPONSELECTION);
 
 
 
  if(!removedweapon[client_index])
  {
    removedweapon[client_index] = true;
    zweapon[client_index] = GetEntPropEnt(client_index, Prop_Data, "m_hActiveWeapon");
    if (IsValidEntity(zweapon[client_index]))
    {
      RemovePlayerItem(client_index, zweapon[client_index]);
      zweapon[client_index] = EntIndexToEntRef(zweapon[client_index]);
    }  
    else zweapon[client_index] = -1;
  }
}

public void ExitCam(int client_index)
{
  SetEntProp(client_index, Prop_Send, "m_iHideHUD", GetEntProp(client_index, Prop_Send, "m_iHideHUD") & ~HIDEHUD_WEAPONSELECTION);
  removedweapon[client_index] = false;
  
   if(zweapon[client_index] != -1)  
   {
      int oldweap = EntRefToEntIndex(zweapon[client_index]);
      if(oldweap > 0 && IsValidEntity(oldweap)) EquipPlayerWeapon(client_index, oldweap);
   }
...

удалить stock hidehudguns
2)Если invalid menu handle
удалить
Menu playerCamMenus[MAXPLAYERS + 1];

C-подобный:
public void Menu_Cameras(int client_index, int args)
{
    Menu playerCamMenus = new Menu(MenuHandler_Cameras);
    playerCamMenus.SetTitle...
    и так далее
3)при ошибке fakePlayersListCamera = -1
C-подобный:
public void ExitCam(int client_index)
{
    ...
    Объединить код:
    if(fakePlayersListCamera[client_index] != -1)
    {
        char modelName[PLATFORM_MAX_PATH];
        GetEntPropString(fakePlayersListCamera[client_index], Prop_Data, "m_ModelName", modelName, sizeof(modelName));
        SetEntityModel(client_index, modelName); // Set back to original model
        float pos[3], rot[3];
        GetEntPropVector(fakePlayersListCamera[client_index], Prop_Send, "m_vecOrigin", pos);
        GetEntPropVector(fakePlayersListCamera[client_index], Prop_Send, "m_angRotation", rot);
        TeleportEntity(client_index, pos, rot, NULL_VECTOR);
        RemoveEdict(fakePlayersListCamera[client_index]);
    }

4)фикс для наблюдения за человеком который в камере:
удалить Hook_SetTransmitPlayer
C-подобный:
public void TpToCam(int client_index, int cam)
{
    ...
//    SDKHook(client_index, SDKHook_SetTransmit, Hook_SetTransmitPlayer);
    SetEntityRenderMode(client_index, RENDER_NONE);

public void ExitCam(int client_index)
{
    ...
//    SDKUnhook(client_index, SDKHook_SetTransmit, Hook_SetTransmitPlayer);
    SetEntityRenderMode(client_index, RENDER_NORMAL);
Я использовал только камеры, но фиксы для дронов аналогичны
 
Последнее редактирование:

Миша

Участник
Сообщения
37
Реакции
1
Ребят, я видимо глупый, помогите.
Я вроде все правильно раскидал по папкам, настроил кфг, но как только хочу купить дронов, мне говорят, что нет доступных дронов.
Что делать?
 

Александр2777

Участник
Сообщения
4
Реакции
0
как это исправить
L 05/09/2019 - 15:40:28: [SM] Blaming: cameras-and-drones.smx
L 05/09/2019 - 15:40:28: [SM] Call stack trace:
L 05/09/2019 - 15:40:28: [SM] [0] CloseHandle
L 05/09/2019 - 15:40:28: [SM] [1] Line 100, cameras-and-drones/dronemenus.sp::ResetDronesMenuPlayer
L 05/09/2019 - 15:40:28: [SM] [2] Line 109, cameras-and-drones/dronemenus.sp::ResetDronesMenuAll
L 05/09/2019 - 15:40:28: [SM] [3] Line 253, C:\Users\Larsalex\Desktop\scripting\cameras-and-drones.sp::Event_RoundStart
L 05/09/2019 - 15:41:06: [SM] Exception reported: Handle ffad09ef is invalid (error 1)
 

ALSHiN

Участник
Сообщения
222
Реакции
14
В запретной зоне вроде есть что-то подобное теперь, вот бы реализовать на серверах, было бы забавно)
 

osTr0ve

Участник
Сообщения
59
Реакции
15
Приветствую, поддержка плагина еще происходит?
 
Сверху Снизу