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) 

  • Moderators
Posted
he set ped in world not gui

O_o !

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Posted

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

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