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?

Looking for tutorials or information? check out: www.simpleask.co.uk

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.

If I helped you, please click the like button on the right ;) Thanks!

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) 

Looking for tutorials or information? check out: www.simpleask.co.uk

Posted
function Camera ( ) 
    fadeCamera ( true ) 
end 
addEventHandler ( 'onClientResourceStart', resourceRoot, Camera ) 

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