Jump to content

Recommended Posts

Posted (edited)
11 hours ago, MarkCavalli said:

I think, one is enough. You can reg another account if you want

Hello,

this script does not seem to work, moreover there is no command to define a leader like / sethospitalleader.

I tried to add myself as factionName in the database -> table usersFaction -> Font

but no result, I tried to assign a vehicle to the Police faction, but it does not spawn, I made the same manipulation for Hospital, I managed to spawn the vehicle.

So Bug? Syntax error? missing code in the script?

there are really nothing who work on this gamemode...

can you look on what you propose on Github, because it is a lot of problem for a gamemode, on github, it seems that you have not specified in beta this gamemode

 

i killed an other player for tested, this script dont work, nothing violation 

Edited by padcmoi
Posted

Привет Марк. Как можно связатся с тобой, пообщатся по поводу сборки? Спасибо.

Posted (edited)
On 10/10/2018 at 8:17 PM, Sevage said:

You can not wait to get a ready-made script here. It serves as a template. You can customize it to your liking.

Hello, customize, but what ?, each script, each code has an error,  its an open source role play server, there is more bug than microsoft windows 95 when it was released,

 

same this funtion dont work by example, she detect not the players near except the owner

    getNearestPlayerInRange(position, range) {
        const playersInRange = this.getPlayersInRange(position, range);
        if (!playersInRange) return false;
        let nearestPlayer = 0;
        for (const player of playersInRange) {
            if (player.dist(position) < playersInRange[nearestPlayer].dist(position)) {
                nearestPlayer = playersInRange.indexOf(player);
            }
        }
        return playersInRange[nearestPlayer];
    }

I challenge you to find someone who has use it in a devellopement project, the answer nothing

on his personal server these functions work, I do not agree with the title on github, wrote beta or unstable role play server, but not open source role play server.

 

I chose his gamemode to have a base on which to devellop, but almost every script has an error, I write this message so that others do not fall into this trap

Edited by padcmoi
  • 2 weeks later...
Posted

Hi, do you know why I cant pass through doors ? Like the vehicle dealer in the city with a door that you can open just by run through in solo mode, I cant when im on your test server, same with the door inside the bank 

Posted
7 часов назад, Lithy сказал:

Hi, do you know why I cant pass through doors ? Like the vehicle dealer in the city with a door that you can open just by run through in solo mode, I cant when im on your test server, same with the door inside the bank 

Its random, you need open/close doors in clientside using doorControl function. I have same problem

Posted
9 hours ago, MarkCavalli said:

Its random, you need open/close doors in clientside using doorControl function. I have same problem

Thanks for the reply, 

 

Can you help me a bit ? Im not very friendly with code and stuffs, I dont really understand what I need to do 😐

Posted
mp.game.object.doorControl(-822900180, 114, 6623, 32, false, 0, 0, 0);
mp.game.object.doorControl(-822900180, 108, 6617, 32, false, 0, 0, 0);

This code opens 2 doors of LS Customs in Paleto Bay

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...