SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 24/01/2018, 07:40 AM   #1
iSteve
Big Clucker
 
Join Date: Apr 2014
Posts: 89
Reputation: 15
Default Interiors appearing dark when when entering through /enter

Code:
					if(HouseInfo[i][hOpen] == 1 || PlayerInfo[playerid][pHouse] == HouseInfo[i][hSQL] || (HouseInfo[i][hRenter] == 0 && HouseInfo[i][hOwner] == PlayerInfo[playerid][pSQL]))
					{

					    SecuSetPlayerInterior(playerid, HouseInfo[i][hInInt]);
		                SetPlayerVirtualWorldEx(playerid, HouseInfo[i][hSQL]);
						SecuSetPlayerPos(playerid, HouseInfo[i][hInX], HouseInfo[i][hInY], HouseInfo[i][hInZ]);
					}
https://imgur.com/a/hKMpm



however when i enter using the same code via a tele it doesent make my interiors dark
iSteve is offline   Reply With Quote
Old 24/01/2018, 10:36 AM   #2
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 542
Reputation: 75
Default Re: Interiors appearing dark when when entering through /enter

Happened to me once, but the problem was that I was entering the interiors from what the server/game provided. When I created my own lighting appeared.

Try Disabling Interior Enter and Exits and creating your own checkpoints if you haven't done so already.
ISmokezU is offline   Reply With Quote
Old 24/01/2018, 11:37 AM   #3
Sew_Sumi
Banned
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 6,242
Reputation: 525
Default Re: Interiors appearing dark when when entering through /enter

IMHO That looks more like a black textdraw over the entire screen rather than a dark interior... Hence why the HUD looks dark.
Sew_Sumi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering Interiors with buttons rather /enter DrTeDDyBeAr Scripting Help 5 25/12/2013 01:52 AM
Entering interiors zgintasz Scripting Help 4 01/05/2012 12:30 PM
Help, With Entering Mapped Interiors Matthew_Johnston Help Archive 6 11/09/2010 05:41 AM
Icons not appearing in some interiors Jokel317 Help Archive 3 03/11/2009 07:30 AM
Entering interiors Ace_Steele Help Archive 2 02/07/2009 06:08 AM


All times are GMT. The time now is 06:40 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.