Jump to content

Quick questions regarding LUA and models


adamb

Recommended Posts

Posted

So, is it possible for LUA to get the location ( call ) of a dummy in a 3d model, and lets say create a corona at its location?

images?q=tbn:ANd9GcRbUxTtfge4ltZX16keF9CJRsVHyxNtJmoQD5Mz0-XzH_pgAdNJPA

Those dummies, the green squares, they mark the location of where doors turn, headlights and taillights are.

so..?

Posted

Did it work?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You're welcome.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Actually, disregard my last

[596] = {["mode"]="led",  [1]={["pos"]={"rightfrontlight"}, ["color"]={0,0,255}, ["size"]=0.25, ["phase"]=0.0},  
  
rightfrontlight = getVehicleComponentPosition ( sourcecar, rightfrontdummy ) 

All coronas spawn at 0.0.0 did i mark something wrong?

Posted

"rightfrontdummy" that's defined where?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Yeah, but you must put it as a string, like this: "rightfrontdummy"

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Show me the whole code.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...