Jump to content

objecttable[...] in c/c++


Gilmer
 Share

Recommended Posts

Hello guys, im having a little problem with c++ and lua.

 

I created a cpp file, it will the main file of project. So, i want access a model that was created in a file .lua, in my case, it was a entity of vehicle(car=CreateVehicle()). I want put this "car", but direct from cpp, to through it, i can assign some functions like AddTorque, AddStereing, SetSteerAngle...

 

Is there any command i can use in cpp?! I know in Lua, i can use the "objecttable[...], but and cpp?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...