DaniTR Posted January 3, 2018 Share Posted January 3, 2018 (edited) Hello im a beginner in c++ mods,im doing a dll mod for gta v SP,but when i spawn a dlc car like Nero it disappears i have found the solution(Only C++)the problem is beggined by the rockstar´s vehicles lock, that block the attemp of DLC´s spawn cars here is the solution: Add this archives to your project: http://www.mediafire.com/folder/nm3kki6okba6d48,dr1r10b8xyc4g4g,dvn7coltindkbua,vjk24cfgegiafg5/shared (There are 4 archives) and add this to your main.ccp or the file that have DLL_PROCES_ATTACH: #include "..\..\inc\main.h" #include "script.h" #include "keyboard.h" #include "EnableCars.h" #include "stdafx.h" #pragma once #include <SDKDDKVer.h> DWORD WINAPI MainEntryPoint(LPVOID lpParam) { EnableCars::Run((HINSTANCE)lpParam); return 0; } BOOL WINAPI DllMain2(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserved) { BOOL bReturnValue = TRUE; switch (dwReason) { case DLL_PROCESS_ATTACH: CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)MainEntryPoint, hinstDLL, NULL, NULL); break; } } Edited January 3, 2018 by DaniTR Link to comment Share on other sites More sharing options...