[Release] Simple enters/exits system [UPDATED v.0.2]

@MarkViolla can you help me out with this error?


Anyone, please. I can’t get this to work.

@HST, Did you change anything?
Where is this resourse placed?
Do you fill all mysql settings correct?
Does DB and table exists?pp

@HST, try ti write in settings.lua path to your essentials mysql module. requre “blabla-from-essentials”

And settings like that:

mySQL = {
host = "your_host",
db = "gta5_gamemode_essential",
inttable = "interiors",
login = "your_login",
pass = "your_pass"
}

@MarkViolla that would be perfect if you can make a exemple for all files because im confuse cant make it work … !

Hope it helps

1 Like

Resource is now updated to version 0.2
Download at topic start. Old version included.

New:

  • smooth disappearing of player (like enter house in GTA:O)
  • black screen fade in/out more ease to place player on new coords.

Awesome thanks Mark, but
Let me get this straight…
I am just adding a table in mysql for this to work?

Sorry im alittle lost of what I need the supplied sql file for. This is the part im confused about.

yes. add game.sql in your MySql and type in your login and password in settings.lua
game.sql is included. Also, you can use this code to make table with first “test” interior.

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

CREATE TABLE IF NOT EXISTS `interiors` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'key id',
  `enter` text NOT NULL COMMENT 'enter coords',
  `exit` text NOT NULL COMMENT 'destination coords',
  `iname` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

INSERT INTO `interiors` (`id`, `enter`, `exit`, `iname`) VALUES
(1, '{-1045.888,-2751.017,21.3634,321.7075}', '{-1055.37,-2698.47,13.82,234.62}', 'first int');

if you are stiill need help, we can try remote control or something to help you.

dude i love so much right now ty for that :smiley:
and little question why do you one more coords

{-1045.888,-2751.017,21.3634,--->321.7075<---}

X,y,z plus the heading.

1 Like

marker are not there and its not working i got no error at all everything is set up idk did he work for you ? :frowning:

@MarkViolla this is the error i got and everything is set up if you know wat the issu is ?

Does not work, base sql is config and no message in the console that appears “[INFO] interiors script loaded!” Need help please

Greeting you have found the error because its indicates that it is in the file s.lua has the line 9: 2.

everything is instal corecty but i dont see any marker whene i go at my location @MarkViolla

Do not hurry up to use this resource now. Soon i will release a fundamentally new resource with interiors / garages and other stuff.
It is does not mean THIS resource is not working.

3 Likes

For now i have completely worked interiors system with auto IPL loading, but there is some issues with them.
Release comes as soon as i can found way to fix them.

2 Likes

ty @MarkViolla if you need help whit all the coords pm i got everything :wink:
ho i got all ipl loaded do you want it ?