Hi all, i’m back !
So, i’m still at my inventory, witch i’m reaching the end, this time for one problem and one question :
My problem : Like said in the title, when i try to call ply:SetActiveWeapon(nil) or to any weapon, it changes nothing ; no errors, simply nothing changes… So my goal is to range an item from the player’s switch to his inventory, the item is succefully sended in my inventory but the weapon is not dissapearing from switch…
Now the question :
So it’s a little bit hard to explain, so you know i need to save inventory data ; to do that i will use a C++ DLL. But i forgott to ask you were can i get garry’s headers files ? And were do i get a the binnarys needed for compilation ? Because Visual Studio 2012 will not be able to compile without the headers files and binarries.
After the last thing is how do i do to pass args from lua to C++ and inverse ? I never used any Lua or Scripting librarys in C++ The only librarys i use are Direct3D or OpenGL.