Szerző Téma: CarShop hiba!  (Megtekintve 1213 alkalommal)

CarShop hiba!
« Dátum: 2016. április 05. - 21:19:22 »
0 Show voters
Sziasztok! Lenne egy kis problémám a carshoppal.
Ez a hiba.
 
[2016-04-05 21:11:14] WARNING: carshop/sourceS.lua:35: Bad argument @ \'dbQuery\' [Expected db-connection at argument 1, got boolean]
[2016-04-05 21:11:14] WARNING: carshop/sourceS.lua:36: Bad argument @ \'dbPoll\' [Expected db-query at argument 1, got boolean

]
Ez a Szerver részlegi kód amire hibát ad.
 
local query = dbQuery(con,\"INSERT INTO vehicles SET model = ?, x = ?, y = ?, z = ?, color1 = ?, color2 = ?, color3 = ?, plate = ?, fuel = ?, engine = ?, job = ?, owner = ?, faction = ?, currx = ?, curry = ?, currz = ?,currrx = ?,currry = ?, currrz =?\",model,x,y,z,0,0,0,plate,100,0,0,getElementData(playerSource,\"dbid\"),-1,x,y,z,x,y,z)
local dt,insert,errors = dbPoll(query,-1)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal