Jump to content

optional argument for attachElementToElement


DiSaMe

Recommended Posts

Posted

I suggest making an optional argument for attachElementToElement function: first person turret mode for player elements. The same that is used on some missions. First person shooting, big crosshair. Would be nice to use with helicopter and minigun, for example.

-

Posted
that is possible through scripting

Then I'm sure both the thread starter and myself would like to know how, br9on8y. :wink:

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

Actually you don't even have to use attachElementToElement, you just need to place the camera somewhere and update its position onClientRender, also making a crosshair is really easy using GUI. Of course it won't be the same as the one in SP, but that doesn't mean it can't be better. ;)

EDIT: You don't have to use the attach function if the player is near, if you move the camera too far objects won't load..

:d::i::s::g::r::a::c::e:

norby89.png

  • Recently Browsing   0 members

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