#selectionspawn

1 messages · Page 1 of 1 (latest)

urban frost
#

Script Name: selectionspawn

Error : when I set selectionspawn to false and I had a character it ported me to the last location but when

What's the issue your experiencing: if i selectspawn to false and i create new character i got black screen

What was the last thing that changed: i try resolve this but i dont know how everytime set selectionspawn to false and i create new char i got black screen

What measures and steps have you taken to troubleshoot this issue: I looking in fors and i know nothing

Video/screenshot: i send

#

i dont know bro what should I do

wooden creek
#

Send the error code when you try to spawn and it black screens

#

And you need to learn how to make a screenshot. As yours are blurry and practically unreadable

urban frost
#

bro I'm doing classic prt sc

wooden creek
#

And it's rubbish

#

It can't be read

urban frost
#

I don't know why I see it normally and my friends I don't know what's wrong with it

#

i go send you error

wooden creek
#

Yeah the error code will help, otherwise I'm looking at blurry text

gilded halo
wooden creek
urban frost
#

okey i setting spawn sorry boys i dont see 1 think but can i ask for why i have qb clothing and i cant save outfit

gilded halo
#

You really need to learn that asking questions without effort results in no one being able to properly assist you.

urban frost
#

i got this error when i save the outfit

#

It says there is an error in qb-clothing

#

and I don't know how to fix it so that saving outfits works for me

gilded halo
#

Read it. It tells you what the problem is.

urban frost
#

Well, there's probably a problem in SQL, but I don't know what to write there.

urban frost
#

I think I should put what it says in SQL, just copy it and put it there, but I don't want to screw something up, so I'd rather ask.

urban frost
#

i copy this text and i put to sql and same error

wooden creek
#

@urban frost please don't DM me because no one has answered here

urban frost
#

okey

#

sorry bro i need resolve this idk what i text to sql

wooden creek
#

Well read the error . It says unknown column

urban frost
#

and how i resolve?

#

I know I have to write something in SQL but I don't know what.

urban frost
#

can you help me pls with the code? thanks

near umbra
#

jesus man really?

#

its telling you the problem, your missing a colunm in your database

urban frost
#

and what should I add there?

#

I don't know what to write there.

near umbra
#

i mean it does kinda tell you, how can you not see the obvious?

#

you dont "write" anythink

#

it says its missing a coloumn within the table "player_outfits" called skin

urban frost
#

okey and what should I write in the table?

near umbra
#

u need to execute the sql from qb-clothing

#

delete the current table called player_outfits and then just re execute the sql

#

but id however edit the sql file first and remove the create table for playerskins cos ud already have that and shouldnt need to touch that

urban frost
#

okey and after a create table with this?

#

CREATE TABLE IF NOT EXISTS playerskins (
id int(11) NOT NULL AUTO_INCREMENT,
citizenid varchar(255) NOT NULL,
model varchar(255) NOT NULL,
skin text NOT NULL,
active tinyint(2) NOT NULL DEFAULT 1,
PRIMARY KEY (id),
KEY citizenid (citizenid),
KEY active (active)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;

CREATE TABLE IF NOT EXISTS player_outfits (
id int(11) NOT NULL AUTO_INCREMENT,
citizenid varchar(50) DEFAULT NULL,
outfitname varchar(50) NOT NULL,
model varchar(50) DEFAULT NULL,
skin text DEFAULT NULL,
outfitId varchar(50) NOT NULL,
PRIMARY KEY (id),
KEY citizenid (citizenid),
KEY outfitId (outfitId)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;

near umbra
#

you only need to re execute the bottom one

#

so remove the top one and save it then execute that sql file

urban frost
#

So I removed player_outfits and playerskins and started the bottom one again

#

and now i got this

near umbra
#

lol

#

ok so you completely disregarded what i told you to do

urban frost
#

but outfit save its works

near umbra
#

i told you to ONLY delete the player_outfits table

#

NOT the playerskins

urban frost
#

can i do backup?

near umbra
#

backup of what?

#

uve only just exectued the sql to add the table lol there wouldnt be anything TO back up

urban frost
#

okay, what now?

near umbra
#

eh

#

what do you mean what now?

#

bro come on lol

#

your making it mearly impossible to support you

#

ive just told you how to fix this issue and you broke it

#

u have the same issue now as u did before just with a different table name

#

delete the table called player_outfits

#

go bk to the sql for qbclothing and then re execute BOTH tables that was original in the SQL

#
CREATE TABLE IF NOT EXISTS `playerskins` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `citizenid` varchar(255) NOT NULL,
  `model` varchar(255) NOT NULL,
  `skin` text NOT NULL,
  `active` tinyint(2) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`),
  KEY `citizenid` (`citizenid`),
  KEY `active` (`active`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;

CREATE TABLE IF NOT EXISTS `player_outfits` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `citizenid` varchar(50) DEFAULT NULL,
  `outfitname` varchar(50) NOT NULL,
  `model` varchar(50) DEFAULT NULL,
  `skin` text DEFAULT NULL,
  `outfitId` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `citizenid` (`citizenid`),
  KEY `outfitId` (`outfitId`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
#

then once u done that i can only advise you just disconnect from your vps and just PLAY THE DAMN GAME lol

urban frost
#

i do that its okey now

near umbra
#

gd gd

urban frost
#

can i ask?

#

i have little problem with when i text /me and i see what i text in the third person fivem but when I type /do I only see it in the chat, don't know how to fix it so it's the other way around

urban frost
#

how can i resolve?

wooden creek
#

Re code or use another script

urban frost
#

another script for chat?

wooden creek
#

No

#

For the /me and /do

#

Like this

urban frost
#

okey thankss

urban frost
#

just yesterday I made a gang menu for vagos and it worked normally for me, today it doesn't work anymore and I don't know why it doesn't give me any errors

urban frost
#

only this error say it qb-management/server/sv_boss.lua:186: No such export AddMoney in resource qb-management

wooden creek
#

Weird as the sv_boss doesn't have 186 lines, it's 184

urban frost
#

yes, there was no error, there was just extra text that I added by mistake and it doesn't say any error, but the gang menu still doesn't show up for me

wooden creek
#

So you added text to the sv_boss.lua file?

urban frost
#

yes but I already removed it I put it at the very end so it wasn't a problem and it doesn't say any error anymore it's just that I still don't see the gang menu in the place where I set it

wooden creek
#

You keep breaking scripts.
So I'd reinstall qb-management and start again

urban frost
#

okey and if I reinstall it will it work normally?

urban frost
#

okey thanks i go do it

#

It's working, thank you.