Hi,
I would like drawing a 3d box rectangle in world (gm_construct) to define limit in area
[CODE]render.DrawBox (Vector(645, -890, -160), angle_zero, Vector(645, -890, -160), Vector(1113, 784, 56), Color (255, 255, 255, 255))[/CODE]
But it's doesn't work and i have no error returned :/
I need help i'm not a pro coder in lua, ty
Doesn't this need cam.start3D2D?
it's doesn't work :(
[QUOTE=Licorne44;50132136]it's doesn't work :([/QUOTE]
Post your code
[QUOTE=MPan1;50135631]Post your code[/QUOTE]
That above IS his code.
[QUOTE=whitestar;50135998]That above IS his code.[/QUOTE]
I think he means post the whole code - as you said - if that's it, it won't work.
render.DrawBox requires a 3D rendering context. Where are you running that code?
Edit:I didn't see that he is banned.
Sorry, you need to Log In to post a reply to this thread.