manve1 Posted October 30, 2012 Posted October 30, 2012 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?
manve1 Posted October 30, 2012 Author Posted October 30, 2012 why would u fade the camera if there isn't one? and i dont know how to make one like in play gamemode
myonlake Posted October 30, 2012 Posted October 30, 2012 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.
manve1 Posted October 30, 2012 Author Posted October 30, 2012 no, i mean i get just a black screen: http://i.imgur.com/HU4vN.png i just turned off chat, thats what u can only see chat and a black screen edit: SS was too big for mta forums so only can put link
Tomc0 Posted October 30, 2012 Posted October 30, 2012 That's why you need to use: function Camera( thePlayer ) fadeCamera( thePlayer, true ) end (When the resource starts)
manve1 Posted October 30, 2012 Author Posted October 30, 2012 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)
Castillo Posted October 30, 2012 Posted October 30, 2012 function Camera ( ) fadeCamera ( true ) end addEventHandler ( 'onClientResourceStart', resourceRoot, Camera )
manve1 Posted October 30, 2012 Author Posted October 30, 2012 ty EDIT: i get problem with targeting the camera to the player ( sorry, i never used these before )
TAPL Posted October 30, 2012 Posted October 30, 2012 Read the Note at wiki: https://wiki.multitheftauto.com/wiki/SpawnPlayer
manve1 Posted October 30, 2012 Author Posted October 30, 2012 EDIT: My player is now bugged, can't move, cant jump or do anything
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now