What's new

Script Almez-MotelSV2 | Meta-item | 105 Rooms | Pinkcage Added | qb to esc Inventory Compatible

Lilibeth

Gold Elite
Joined
Jul 4, 2021
Messages
186
Reaction score
42,655
Points
316

✌️Hello VAG Forum Family✌️
Today I will give you information about the motel system with meta items
I hope it is a useful post for you

Credit: almez almez

FEATURE
· All rooms and warehouses can only be opened by the person who has the key
· You can take out as many spare keys as you want
· Everything can be edited via Config, you can add as many rooms as you want
· If the room owners do not forget to lock their storage and door, their room may be robbed
· You can sell your room back at any time

To pun_idgun, where I added a code that automatically transfers it to the clipboard to get the position of the objects






SETUP
· First of all, we throw the almez-motels folder into the resources and start it from server.cfg.
· We transfer the SQL file in the file to the database
· Enter qb-inventory/html/js/app.js and search for the code below

Code:
function FormatItemInfo(itemData)

· Enter the code I gave at the bottom of this code as I show in the photo.
1622833513227.png

JavaScript:
} else if (itemData.name == "motelkeys") {
            $(".item-info-title").html('<p>'+itemData.label+'</p>')
            $(".item-info-description").html('<p>Oda No: ' + itemData.info.motel + '</p>');

GOOD FORUMS🖋️
 
Last edited by a moderator:

fefimex176

“Let him ride a horse. He's a cowboy ain't he?”
Gold Elite
Joined
Jul 11, 2021
Messages
96
Reaction score
1,079
Points
301
Location
Los Santos
Good share works perfectly
 

izvor10

Bronze Elite
Joined
May 21, 2021
Messages
17
Reaction score
2
Points
156
pinkcage motel I cant sell my room can someone help me
 

Attachments

  • motel hara.png
    motel hara.png
    67 KB · Views: 141
Joined
Mar 12, 2021
Messages
2
Reaction score
24
Points
146
Hello can you help me with this error please ?
all working only the key is not possible to use...
I have add on my item database, but when i want to use i got this error :
image_2021-08-05_170702.png
 

AdevilIN

Member
Joined
Mar 29, 2021
Messages
11
Reaction score
0
Points
156
anyone have a link to where we can get the mlo for the hotel and ymaps for the pink cage from?
 

apinto

Member
Joined
Mar 28, 2022
Messages
3
Reaction score
1
Points
156
Location
Portugal

✌️Hello VAG Forum Family✌️
Today I will give you information about the motel system with meta items
I hope it is a useful post for you

Credit: almez almez

FEATURE
· All rooms and warehouses can only be opened by the person who has the key
· You can take out as many spare keys as you want
· Everything can be edited via Config, you can add as many rooms as you want
· If the room owners do not forget to lock their storage and door, their room may be robbed
· You can sell your room back at any time

To pun_idgun, where I added a code that automatically transfers it to the clipboard to get the position of the objects






SETUP
· First of all, we throw the almez-motels folder into the resources and start it from server.cfg.
· We transfer the SQL file in the file to the database
· Enter qb-inventory/html/js/app.js and search for the code below

Code:
function FormatItemInfo(itemData)

· Enter the code I gave at the bottom of this code as I show in the photo.
View attachment 1312

JavaScript:
} else if (itemData.name == "motelkeys") {
            $(".item-info-title").html('<p>'+itemData.label+'</p>')
            $(".item-info-description").html('<p>Oda No: ' + itemData.info.motel + '</p>');

GOOD FORUMS🖋️
where is the qb core version ?
 

niso

Bronze Elite
Joined
Jul 26, 2021
Messages
21
Reaction score
4
Points
166

✌️Hello VAG Forum Family✌️
Today I will give you information about the motel system with meta items
I hope it is a useful post for you

Credit: almez almez

FEATURE
· All rooms and warehouses can only be opened by the person who has the key
· You can take out as many spare keys as you want
· Everything can be edited via Config, you can add as many rooms as you want
· If the room owners do not forget to lock their storage and door, their room may be robbed
· You can sell your room back at any time

To pun_idgun, where I added a code that automatically transfers it to the clipboard to get the position of the objects






SETUP
· First of all, we throw the almez-motels folder into the resources and start it from server.cfg.
· We transfer the SQL file in the file to the database
· Enter qb-inventory/html/js/app.js and search for the code below

Code:
function FormatItemInfo(itemData)

· Enter the code I gave at the bottom of this code as I show in the photo.
View attachment 1312

JavaScript:
} else if (itemData.name == "motelkeys") {
            $(".item-info-title").html('<p>'+itemData.label+'</p>')
            $(".item-info-description").html('<p>Oda No: ' + itemData.info.motel + '</p>');

GOOD FORUMS🖋️
awdadawd
 
Top