im assuming theres no way to make it the police vehicles for your own servers needs? would be really cool if the cruisers would be OPP or toronto police in our server
yes you can i have calgary cop cars on my server and RCMP as well just need to change the vanilla ones in your car folder to your livery for your city
yea i am also having this issue. Seems like a great idea
Hella smart.
I am a complete noob to gtav servers so Iām just going to ask instead of googling in circles like I have been for the last 2 hours. Where do I add the
exports['sd-aipolice']:ApplyWantedLevel(--1 to 5)
code. Letās use the example of qb-bankrobbery?
So far I have done everything in the installation instructions. Changed all the lines in every .lua file and then I assumed I take the files from the github and place the sd-aipolice folder in the same folder as all the qb-(insertjobnamehere) folders. But I canāt seem to wrap my head around where the export line goes even after staring at the QBCore documentation on exports. Any help would be greatly appreciated. Itās not my first time modding other online servers so just which file and inside of what code section and I should be good to go.
Thanks.
EDIT: So I sort of have it working for jewelry. I added it to when the player smashes the glass it gives them 2 stars but then every time they smash a glass it adds 2 more stars so I need to figure out how to make that only happen once. I did this in the qb-jewelery\client\main.lua but I think I might have to do it in the server side where the police get notified instead so it only happens once? Not sure.
edit2: it is in client, I just had to do it in the firstalarm section. I think I have it figured out now.
would you mind
sharing your changes with me
Can someone how this should be added to work?
replace it with the one inside the lua file.
Having an issueā¦ what would be the fix? (running QB-Core)
however if I remove the line it will show it starts without errorsā¦ hmmā¦
@SamuelBlack Hi, how are you? Iāve started to take your code and put it on ESX if you donāt mind.
How is that going?
Hi, Iāve put it on pause for the moment because I have other projects that Iām updating but Iāll get back to it soon.
Hi, were you able to convert it to esx?
lo esperare :,v
i did everything it said but its not working.there was a issue .i counld find a certain code which u mentioned so idk what to change in that aspect