In my buy script it adding twoice the data in the DB


#1

When im buying cars , my car are added 2 times in to the database , a similar problem was when i try to cash out more money then i can , that give me the error twoice


#2

Is it in a loop of some sort?


#3

Looks like it is , look what its looks likesave


#4

I know what it would look like it’s just wherever you are calling the Sal query to save the vehicle is either in a loop and called twice or it is called 2 times in different parts of the script…


#5

how can i fix that? have you an idea?


#6

I can’t fix it. I am driving. But I told you what to check for.