Jump to content

Paradise Script Help


TrueLifeRP

Recommended Posts

I have a RP server (can be found in servers to play on thread) that uses mabakos paradise gamemode.

Ill be the first to admit im pretty n00bish when it comes to game server required files, etc. Im a web designer and IT business owner IRL but not game related stuff

I was partnered and still am with a friend of mine who has recently become inactive due to some IRL issues. So i took over the server.... anyways when i got into and starded to look at the file structure, sql database,acf file everything was terribly messy and way un organized.

I got rid of everything, went through mabakos script files i got from github put those files on the server and the game started up with an all black screen and wouldn't do anything... (that was my first problem)

So luckily i backed up the server files prior to deleting them so i restored them all making sure not to overwrite anything to ensure It was just me missing some files... I was right the game started up fine and my character (who i saved in the sql) was still in LS as I left him.

The edits I made all show up ig which is cool :)

But when a new player is created it spawns in SF which i have no idea how to change.... Also I want character creating to be only made by admins. (character story post is required prior to playing)

So Basic Questions

1. How do I Create Admin Level Ranks On My Server (what files etc)

2. How do I change Spawn Points for new Character

3. What are the basic required files besides the github files needed on the server... Or did I just not install it correctly?

-Thank you for your time

Link to comment

2. Go players/main.LUA

Search:

function createCharacter( player, name, skin ) 
    if player and p[ player ].userID then 
        if exports.sql:query_assoc_single( "SELECT characterID FROM characters WHERE characterName = '%s'", name ) then 
            triggerClientEvent( player, "players:characterCreationResult", player, 1 ) 
        elseif exports.sql:query_free( "INSERT INTO characters (characterName, userID, x, y, z, interior, dimension, skin, rotation) VALUES ('%s', " .. p[ player ].userID .. ", [color=#80FF00]X[/color],[color=#80FF00] Y[/color], [color=#80FF00]Z[/color], 0, 0, " .. tonumber( skin ) .. ", 270)", name ) then 
            updateCharacters( player ) 
            triggerClientEvent( player, "players:characterCreationResult", player, 0 ) 

Change color green

Link to comment

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...