Jump to content

Set Camera


manve1

Recommended Posts

Posted

I get a problem, because im currently creating a gamemode, so when i change my gamemode from play to the gamemode, i get a black screen, so is there a way i can make that it wouldn't be black?

Posted

What? You want to fade camera in and out? Then use what Tomc0 told you first, which is "fadeCamera". If you want to fade the screen with something else, you could use dx-functions.

Posted

still black, i change ur code a bit, not really much, cuz i need it for client side more then server side

function Camera( ) 
    fadeCamera( localPlayer, true ) 
end 
addEventHandler('onClientResourceStart', getLocalPlayer(), Camera) 

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