Jump to content

background img back the ped


Nas

Recommended Posts

Posted

hi

i create camera matrex and create ped

he set ped in world not gui :(

i wanna create GUIEditor.staticimage back the ped with [X, Y] :mrgreen:

my code

function setCameraOnPlayerJoin() 
     fadeCamera(source, true, 5) 
     setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) 
     createPed ( 120, 5540.6654, 1020.55122, 1240.545 ) 
end 
addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin) 

Posted
I think he wants to create a ped inside a GUI, or something like that.

I've never seen that before for a GUI and I hardly think it's possible.

Anyway, I think he can create a kind of "background" behind the ped using dxDrawMaterialLine3D.

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...