Jump to content

Does setCameraInterior work clientside?


Johan Even

Recommended Posts

Hello, I'm making a skin selector script, everything's fine until I try to move the process to an interior. Here's the code (clientside)

function()
 
fadeCamera(true)
local cjped=createPed(56, 0,0,0) 
setElementInterior(cjped, 3, 950, -55, 1001)
setElementCollisionsEnabled(cjped, false)
setCameraInterior(3)
setCameraMatrix (955, -55, 1002, 950, -55, 1001)
end

All I see is a poor girl hanging in the sky. Is it possible to load the interior?

Link to comment

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