Jump to content

help gm paradise


Recommended Posts

Resource players, script main.Lua hay una funcion llamada

function createCharacter( player, name, skin )

En la cual veras una linea como esta

elseif exports.sql:query_free( "INSERT INTO characters (characterName, userID, x, y, z, interior, dimension, skin, rotation) VALUES ('%s', " .. p[ player ].userID .. ", -179.42, 1110.97, 19.74, 0, 0, " .. tonumber( skin ) .. ", 270)", name ) then

 

Si ves ahi el -179.42, 1110.97, 19.74, vendrian a ser las coordenadas del spawn una vez creado el PJ, necesitaras saber las coordenadas de donde quieres poner el spawn y ponerlas ahi

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