What is this script?
- This script adds a few cats to the Cat Cafe created by Gabz, adding visuality.
How does it look ?
Download
Updates
- Added OX Target support
My Other Projects
What is this script?
How does it look ?
Download
Updates
My Other Projects
Nice release, Little tip, when uploading to github youâre suppose to upload all the files directly using git and not a zip. Good release though.
Any chance of a update for ox target , when petting the cat?
Hey, I updated the script and now you can use it with ox target. Donât forget to take a look at the config.
Nice.
Just FYI, as it is, when ox_target is set to true, only one cat can be interacted with. Iâm not great with code, but taking.
if Config.OxTarget then
exports.ox_target:addBoxZone({
coords = vec3(-584.05, -1063.0, 22.7),
size = vec3(2, 2, 2),
rotation = 45,
debug = drawZones,
options = {
{
name = âboxâ,
event = âtg:petcatâ,
icon = âfa-solid fa-catâ,
label = âPet the catâ,
}
}
})
end
And making it for each catâs vector3 should make it work for each cat. Thereâs a way to do it by just pulling from the config coords but I donât have the skill to do it. While it may not matter much, it seems when the resource is reset or ensured the first cat will behave like a world ped and walk off, not being deleted/respawned.
I moved the locations to the âCafe Dayâ cat cafe location by xtxvxtx if anyone is interested.
Coordinates are here:
Config.Cat1 = {-504.20, -29.32, 47.0, nil, 84.13, nil, 0x573201B8}
Config.Cat2 = {-510.43, -33.99, 46.72, nil, 355.94, nil, 0x573201B8}
Config.Cat3 = {-505.25, -38.15, 45.87, nil, 355.98, nil, 0x573201B8}
Config.Cat4 = {-504.25, -35.23, 46.33, nil, 48.94, nil, 0x573201B8}
Config.Cat5 = {-516.6, -23.6, 45.5, nil, 355.92, nil, 0x573201B8}
Not sure if itâs just me, but my player ped gets spun around when petting. Just Commented out:
TaskTurnPedToFaceEntity(player, ped3, 5000)
The script is a nice idea, (I incorporate it into my pet system + player-owned apartments).
But since when is UwU a word? (adjective).
Sounds to me like when the scrip-title would be : âAhh, Catsâ xd
Any update on the above fix? [FREE] UwU Cats - #6 by Noor_Nahas
@Kattrigerkatta UwU is the MLO , its the Cat Cafe that is why its called UwU
nah, makes no sense somehow, it wouldnât be called Police-Cats if the standart spawnpoints are in the pd à¶
Replace
if Config.OxTarget then
exports.ox_target:addBoxZone({
coords = vec3(-584.05, -1063.0, 22.7),
size = vec3(2, 2, 2),
rotation = 45,
debug = drawZones,
options = {
{
name = âboxâ,
event = âtg:petcatâ,
icon = âfa-solid fa-catâ,
label = âPet the catâ,
}
}
})
end
With:
if Config.OxTarget then
exports.ox_target:addBoxZone({
coords = vec3(-504.20, -29.32, 46.3),
size = vec3(0.5, 0.5, 0.5),
rotation = 90,
debug = drawZones,
options = {
{
name = âboxâ,
event = âtg:petcatâ,
icon = âfa-solid fa-catâ,
label = âPet the catâ,
}
}
})
exports.ox_target:addBoxZone({
coords = vec3(-510.43, -33.99, 45.72),
size = vec3(0.5, 0.5, 0.5),
rotation = 45,
debug = drawZones,
options = {
{
name = âboxâ,
event = âtg:petcatâ,
icon = âfa-solid fa-catâ,
label = âPet the catâ,
}
}
})
exports.ox_target:addBoxZone({
coords = vec3(-505.25, -38.15, 44.87),
size = vec3(0.5, 0.5, 0.5),
rotation = 45,
debug = drawZones,
options = {
{
name = âboxâ,
event = âtg:petcatâ,
icon = âfa-solid fa-catâ,
label = âPet the catâ,
}
}
})
exports.ox_target:addBoxZone({
coords = vec3(-504.25, -35.23, 45.33),
size = vec3(0.5, 0.5, 0.5),
rotation = 45,
debug = drawZones,
options = {
{
name = âboxâ,
event = âtg:petcatâ,
icon = âfa-solid fa-catâ,
label = âPet the catâ,
}
}
})
exports.ox_target:addBoxZone({
coords = vec3(-516.6, -23.6, 44.8),
size = vec3(0.5, 0.5, 0.5),
rotation = 45,
debug = drawZones,
options = {
{
name = âboxâ,
event = âtg:petcatâ,
icon = âfa-solid fa-catâ,
label = âPet the catâ,
}
}
})
end
And replace:
TaskTurnPedToFaceEntity(player, ped3, 5000)
With:
â TaskTurnPedToFaceEntity(player, ped3, 5000)
This is so amazing! I love petting the cats
That does not work , also Ox Target does not even work for me.
If ox target is not working anywhere in your server then the issue isnât this resource, you installed ox target incorrectly or another issue.
Ox is working on everything but this script.
how about for the normal catcafe spot? because when i put the normal cordinate and pet a cat it just looked the wrong way
how can i do it with other maps? when i tried it with https://youtu.be/-Hc23UNUIy4
but the cat peds they duplicate all the time and there are times when they ignore the coordinates, they get stuck and I have to restart, even when I restart they donât go, the peds donât appear and I canât interact with them either.
You just need the vector locations.
yes i finally managed to solve it, iâm trying to get the ox_target to work to pet the cats but when i paste and copy the code you left above i get this error, do you know what i did wrong?
youâre probably missing a comma or have an extra symbol somewhere. Youâll want to download some kind of lua plug in like:
to notify you of errors if youâre having trouble finding it.
I fixed it, it was a typo thank you im not so good with scripts, but still does not work peting with ox_target for me, it does not let me pet the cats even copying your code and modifying the new coordinates of the cats, I leave the coordinates here in case you know what I can be doing wrong.
coords:
Config.Cat1 = {-293.9466, -64.1472, 49.6838, nil, 315.00, nil, 0x573201B8}
Config.Cat2 = {-288.1408, -71.0300, 49.7933, nil, 111.99, nil, 0x573201B8}
Config.Cat3 = {-288.6527, -70.0999, 49.7961, nil, 225.00, nil, 0x573201B8}
Config.Cat4 = {-297.0206, -72.4317, 50.0599, nil, 135.00, nil, 0x573201B8}
Config.Cat5 = {-292.1832, -75.8245, 50.3000, nil, 315.00, nil, 0x573201B8}
You also need to edit the box zone locations, not just the config coordinates.